test-0014.sh 344 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. . ./test-common.sh
  3. # sanity rotation check using dateext and dateformat
  4. cleanup 14
  5. # ------------------------------- Test 14 ------------------------------------
  6. preptest test.log 14 1 0
  7. $RLR test-config.14 --force
  8. DATESTRING=$(/bin/date +%Y-%m-%d)
  9. checkoutput <<EOF
  10. test.log 0
  11. test.log.$DATESTRING 0 zero
  12. EOF
  13. rm -rf testdir