test-0075.sh 409 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 75
  4. # ------------------------------- Test 75 ------------------------------------
  5. # uncompress logs before mailing them even if delaycompress is enabled
  6. # https://github.com/logrotate/logrotate/issues/151
  7. preptest test.log 75 2 1
  8. $RLR test-config.75 --verbose
  9. checkoutput <<EOF
  10. test.log 0
  11. test.log.1 0 zero
  12. test.log.2.gz 1 first
  13. EOF
  14. checkmail test.log.3.gz second