From 725b9481d78dd890e66e13d0f9d8a07c51d48dd4 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sat, 17 Oct 2020 13:54:18 +0200 Subject: [PATCH] logrotate: add runtime test Signed-off-by: Josef Schlehofer --- utils/logrotate/test.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 utils/logrotate/test.sh diff --git a/utils/logrotate/test.sh b/utils/logrotate/test.sh new file mode 100644 index 000000000..610213677 --- /dev/null +++ b/utils/logrotate/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +logrotate --version 2>&1 | grep "$2"