syslog-lib.sh: Produce TCONF instead of TBROK for journald
RFC PATCH 1/1 syslog-lib.sh: Produce TCONF instead of TBROK for journald
If there is no traditional syslog daemon installed these testcaess exit with TBROK which is not correct since these tests are simply not applicable if no syslog daemon is installed.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/syscalls/syslog/syslog-lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/syscalls/syslog/syslog-lib.sh +2 -2
@@ -86,8 +86,8 @@ EOF ) fi else - tst_resm TBROK "Couldn't find syslogd, syslog-ng or rsyslogd" - cleanup 1 + tst_resm TCONF "Couldn't find syslogd, syslog-ng or rsyslogd" + cleanup 32 fi # Back up configuration file
Signature · 1 line
2.12.2
RFC PATCH 1/1 syslog-lib.sh: Produce TCONF instead of TBROK for journald
----- Original Message -----
Quoted 26 lines
If there is no traditional syslog daemon installed these testcaess exit with TBROK which is not correct since these tests are simply not applicable if no syslog daemon is installed.
Signed-off-by Cyril Hrubis <[email protected]>--- testcases/kernel/syscalls/syslog/syslog-lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)testcases/kernel/syscalls/syslog/syslog-lib.sh +2
-3@@ -86,8 +86,8 @@ EOF ) fi else - tst_resm TBROK "Couldn't find syslogd, syslog-ng or rsyslogd" - cleanup 1 + tst_resm TCONF "Couldn't find syslogd, syslog-ng or rsyslogd" + cleanup 32 fi # Back up configuration file --
Quoted 1 line
2.12.2
ACK
Regards,
Jan
RFC PATCH 1/1 syslog-lib.sh: Produce TCONF instead of TBROK for journald