12345678910111213141516171819202122 |
- #!/bin/bash
- . ./test-common.sh
- cleanup 34
- preptest test.log 34 1 0
- $RLR test-config.34 -d -f 2>&1|grep "uid = 0 gid = 0" > /dev/null
- if [ $? != 0 ]; then
- echo "logrotate output must contain 'uid = 0 gid = 0'"
- exit 3
- fi
- checkoutput <<EOF
- test.log 0 zero
- EOF
|