test-0077.sh 398 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 77
  4. # ------------------------------- Test 77 ------------------------------------
  5. # ignore empty patterns given by the tabooext directive
  6. preptest test.log 77 1
  7. mkdir -p includedir
  8. cat > includedir/test-0077.conf << EOF
  9. copytruncate
  10. rotate 1
  11. EOF
  12. $RLR test-config.77 --force --verbose
  13. rm -rf includedir
  14. checkoutput <<EOF
  15. test.log 0
  16. test.log.1 0 zero
  17. EOF