From: Martin R. <mr...@us...> - 2006-02-22 18:26:48
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/syslog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7767 Modified Files: syslog02 Log Message: Fix for defect 21134, SLES10 looks for syslog-ng instead of syslogd Index: syslog02 =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/syslog/syslog02,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** syslog02 19 Feb 2006 08:55:43 -0000 1.15 --- syslog02 22 Feb 2006 18:26:44 -0000 1.16 *************** *** 73,83 **** level="emerg alert crit err warning notice info debug" ! # check if syslogd command exits. if [ -z $(which syslogd) ] then ! tst_resm TBROK "syslogd no such command" status_flag=1 ! cleanup ! fi --- 73,89 ---- level="emerg alert crit err warning notice info debug" ! tst_resm TINFO "syslog: Testing whether messages are logged into log file" ! echo ! # check if syslogd command exits. Check for both syslogd & syslogd-ng in SLES10 if [ -z $(which syslogd) ] then ! if [ -z $(which syslog-ng) ] ! then ! tst_resm TBROK "syslogd or syslog-ng no such command" status_flag=1 ! cleanup ! fi ! else ! echo "Running tests" fi |