add logrotate-test.sh.