add logrotate test scripts.