test-0036.sh 427 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 36
  4. # ------------------------------- Test 36 ------------------------------------
  5. # size 1x - 'x' is unknown unit, config should be skipped
  6. preptest test.log 36 1 0
  7. $RLR test-config.36 --force 2>error.log
  8. grep "unknown unit" error.log >/dev/null
  9. if [ $? != 0 ]; then
  10. echo "No error 'unknown unit' printed, but there should be one."
  11. exit 3
  12. fi
  13. checkoutput <<EOF
  14. test.log 0 zero
  15. EOF