#!/bin/bash . ./test-common.sh cleanup 41 # ------------------------------- Test 41 ------------------------------------ # Test that prerotate and postrotate scripts are called only when the log files # are actually rotated preptest test.log 41 1 echo x > test2.log $RLR test-config.41 checkoutput <