12345678910111213141516171819202122 |
- #!/bin/bash
- . ./test-common.sh
- cleanup 31
- # ------------------------------- Test 31 ------------------------------------
- # Test mode in create option
- preptest test.log 31 1 0
- $RLR test-config.31 --force
- stat -c %f test.log|grep 8180 >/dev/null
- if [ $? != 0 ]; then
- echo "Bad mode of test.log, should be 0600"
- exit 3
- fi
- checkoutput <<EOF
- test.log 0
- test.log.1 0 zero
- EOF
|