test-0074.sh 361 B

1234567891011121314151617
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 74
  4. # ------------------------------- Test 74 ------------------------------------
  5. # unlink of log file that no longer exists should be handled as a warning only
  6. # https://github.com/logrotate/logrotate/issues/144
  7. preptest test.log 74 1
  8. $RLR test-config.74 --verbose
  9. checkoutput <<EOF
  10. test.log 0
  11. test.log.1 0 zero
  12. EOF