Lines Matching refs:conf
25 # Test #1: Test that logrotate -f <file.conf> rotates the logfile
26 # as per the specifications in the conf file. Create a file
27 # tst_logfile in /var/log/. Create a conf file such that this
29 # logrotate -f <file.conf>, check to see if it forced rotation.
33 # logrotate <file.conf> every minute. The conf file specifies
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 \
197 # check if config file $LTPTMP/tst_logrotate.conf is read
201 grep "reading config file $LTPTMP/tst_logrotate.conf" \
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
284 * * * * * logrotate $LTPTMP/tst_largelog.conf