test-0081.sh 400 B

12345678910111213
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 81
  4. # ------------------------------- Test 81 ------------------------------------
  5. # size option and the time interval option are mutually exclusive, so the user
  6. # should be warned, but only if they are used inside the same log config
  7. preptest test.log 81 1 0
  8. ! $RLR -d test-config.81 2>&1 | \
  9. grep -q "warning: '.*' overrides previously specified '.*'"