From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Tue, 2 May 2017 20:17:49 +0200 Subject: [LTP] [RFC] [PATCH] syslog-lib.sh: Produce TCONF instead of TBROK for journald Message-ID: <20170502181749.16375-1-chrubis@suse.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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 --- testcases/kernel/syscalls/syslog/syslog-lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/kernel/syscalls/syslog/syslog-lib.sh b/testcases/kernel/syscalls/syslog/syslog-lib.sh index e166d3a45..35c13daf7 100755 --- a/testcases/kernel/syscalls/syslog/syslog-lib.sh +++ b/testcases/kernel/syscalls/syslog/syslog-lib.sh @@ -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 -- 2.12.2