Lines Matching refs:LTPTMP
57 which $2 > $LTPTMP/tst_logrotate.err 2>&1 || RC=$?
88 LTPTMP=/tmp/tst_logrotate.$$
90 LTPTMP=$TMP/tst_logrotate.$$
93 mkdir -p $LTPTMP > /dev/null 2>&1 || RC=$?
123 tst_resm TINFO "CLEAN: removing $LTPTMP"
124 rm -fr $LTPTMP
149 tst_resm TINFO "Test #1: create a configfile $LTPTMP/var_mesg.config"
157 cat >$LTPTMP/tst_logrotate.conf <<-EOF
192 chmod 644 $LTPTMP/tst_logrotate.conf
193 logrotate -fv $LTPTMP/tst_logrotate.conf > $LTPTMP/tst_logrotate.out 2>&1 \
201 grep "reading config file $LTPTMP/tst_logrotate.conf" \
202 $LTPTMP/tst_logrotate.out > $LTPTMP/tst_logrotate.err 2>&1 || RC=$?
204 $LTPTMP/tst_logrotate.out > $LTPTMP/tst_logrotate.err 2>&1 || RC=$?
206 $LTPTMP/tst_logrotate.out > $LTPTMP/tst_logrotate.err 2>&1 || RC=$?
209 tst_res TFAIL > $LTPTMP/tst_logrotate.err 2>&1 \
216 > $LTPTMP/tst_logrotate.out 2>&1 || RC=$?
222 tst_res TFAIL $LTPTMP/tst_logrotate.out \
227 tst_res TFAIL $LTPTMP/tst_logrotate.out \
233 tst_res TFAIL $LTPTMP/tst_logrotate.out \
254 tst_resm TINFO "Test #2: create a configfile $LTPTMP/tst_largelog.conf"
255 tst_resm TINFO "Test #2: logrotate $LTPTMP/tst_largelog.conf - cronjob"
260 cat >$LTPTMP/tst_largelog.conf <<EOF
283 cat >$LTPTMP/tst_logrotate.cron <<EOF
284 * * * * * logrotate $LTPTMP/tst_largelog.conf
287 chmod 777 $LTPTMP/tst_logrotate.cron > /dev/null 2>&1
290 crontab $LTPTMP/tst_logrotate.cron > $LTPTMP/tst_logrotate.out 2>&1 || RC=$?
294 tst_brk TBROK $LTPTMP/tst_logrotate.out NULL \
302 cat >$LTPTMP/tst_addtolog.cron <<EOF
308 crontab $LTPTMP/tst_addtolog.cron > $LTPTMP/tst_logrotate.out 2>&1 || RC=$?
312 tst_brk TBROK $LTPTMP/tst_logrotate.out NULL \
346 > $LTPTMP/tst_logrotate.out 2>&1 || RC=$?
352 tst_res TFAIL $LTPTMP/tst_logrotate.out \
356 tst_res TFAIL $LTPTMP/tst_logrotate.out \