1#!/bin/bash 2 3. ./test-common.sh 4 5cleanup 31 6 7# ------------------------------- Test 31 ------------------------------------ 8# Test mode in create option 9preptest test.log 31 1 0 10 11$RLR test-config.31 --force 12 13stat -c %f test.log|grep 8180 >/dev/null 14if [ $? != 0 ]; then 15 echo "Bad mode of test.log, should be 0600" 16 exit 3 17fi 18 19checkoutput <<EOF 20test.log 0 21test.log.1 0 zero 22EOF 23