test-0064.sh 400 B

12345678910111213141516171819
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 64
  4. # ------------------------------- Test 64 ------------------------------------
  5. # filename in mail's subject with compress directive and maillast directive
  6. # should be the name of the removed log
  7. preptest test.log 64 1 0
  8. DATESTRING=$(/bin/date +%Y%m%d)
  9. $RLR test-config.64 --force
  10. checkoutput <<EOF
  11. test.log 0
  12. EOF
  13. checkmail test.log-$DATESTRING.gz zero