test-0037.sh 431 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 37
  4. # ------------------------------- Test 37 ------------------------------------
  5. # skip config with firstaction script
  6. preptest test.log 37 1 0
  7. $RLR test-config.37 --force 2>error.log
  8. grep "skipping" error.log >/dev/null
  9. if [ $? != 0 ]; then
  10. echo "No error 'skipping' printed, but there should be one."
  11. exit 3
  12. fi
  13. checkoutput <<EOF
  14. test.log 0
  15. test.log.1 0 zero
  16. scriptout 0 second
  17. EOF