test-0023.sh 398 B

123456789101112131415161718
  1. #!/bin/bash
  2. . ./test-common.sh
  3. cleanup 23
  4. # ------------------------------- Test 23 ------------------------------------
  5. # symlinks - symlinks rotation is not allowed for security reasons.
  6. preptest test.log.original 23 1
  7. ln -s test.log.original test.log
  8. $RLR test-config.23 --force 2>error.log
  9. checkoutput <<EOF
  10. test.log 0 zero
  11. test.log.original 0 zero
  12. EOF
  13. rm -f test.log 2>/dev/null || true