logrotate: add runtime test
[feed/packages.git] / utils / logrotate / test.sh
diff --git a/utils/logrotate/test.sh b/utils/logrotate/test.sh
new file mode 100644 (file)
index 0000000..6102136
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+logrotate --version 2>&1 | grep "$2"