From: Mitsuru C. <CH...@jp...> - 2005-06-13 09:51:44
Attachments:
dhcpd_processcheck.patch
|
Hi, At dhcpd test, dhcpd_tests.sh checks dhcpd is running or not like this: ps -ef | grep dhcpd This command line returns TRUE even if dhcpd isn't running because the test shell script `dhcpd_tetss.sh' itself is matched. I propose to change this to: ps -ef | grep "dhcpd[[:blank:]]" Thank you, ------ Mitsuru Chinen <ch...@jp...> |
From: Mitsuru C. <mi...@jp...> - 2005-08-19 14:56:26
|
Hi all, I posted this patch in June. As it was not included to the latest source, I resend it. If my patch is something wrong, please let me know. --- At dhcpd test, dhcpd_tests.sh checks dhcpd is running or not like this: ps -ef | grep dhcpd This command line returns TRUE even if dhcpd isn't running because the test shell script `dhcpd_tetss.sh' itself is matched. I propose to change this to: ps -ef | grep "dhcpd[[:blank:]]" Thank you, -- Mitsuru Chinen <mi...@jp...> diff -uprN ltp-full-20050804.orig/testcases/network/dhcpd/dhcpd_tests.sh ltp-full-20050804/testcases/network/dhcpd/dhcpd_tests.sh --- ltp-full-20050804.orig/testcases/network/dhcpd/dhcpd_tests.sh 2005-08-05 05:33:05.000000000 +0900 +++ ltp-full-20050804/testcases/network/dhcpd/dhcpd_tests.sh 2005-08-19 23:22:11.022027608 +0900 @@ -102,7 +102,7 @@ init() return $RC fi - grep "dhcpd" $LTPTMP/tst_dhcpd.out &>$LTPTMP/tst_dhcpd.err || RC=$? + grep "dhcpd[[:blank:]]" $LTPTMP/tst_dhcpd.out &>$LTPTMP/tst_dhcpd.err || RC=$? if [ $RC -eq 0 ] then tst_resm TPASS "INIT: dhcpd is already running. Declaring success" |
From: Robert W. <ro...@us...> - 2005-08-31 21:10:50
Attachments:
pic14305.jpg
|
Applied all your patches to the CVS tree. -Robbie (Embedded image moved to file: pic14305.jpg) Mitsuru Chinen <mi...@jp... > To Sent by: ltp...@li... ltp-list-admin@li cc sts.sourceforge.n et Subject [LTP] dhcpd_tests.sh always judges dhcpd is running 08/19/2005 09:56 AM Hi all, I posted this patch in June. As it was not included to the latest source, I resend it. If my patch is something wrong, please let me know. --- At dhcpd test, dhcpd_tests.sh checks dhcpd is running or not like this: ps -ef | grep dhcpd This command line returns TRUE even if dhcpd isn't running because the test shell script `dhcpd_tetss.sh' itself is matched. I propose to change this to: ps -ef | grep "dhcpd[[:blank:]]" Thank you, -- Mitsuru Chinen <mi...@jp...> diff -uprN ltp-full-20050804.orig/testcases/network/dhcpd/dhcpd_tests.sh ltp-full-20050804/testcases/network/dhcpd/dhcpd_tests.sh --- ltp-full-20050804.orig/testcases/network/dhcpd/dhcpd_tests.sh 2005-08-05 05:33:05.000000000 +0900 +++ ltp-full-20050804/testcases/network/dhcpd/dhcpd_tests.sh 2005-08-19 23:22:11.022027608 +0900 @@ -102,7 +102,7 @@ init() return $RC fi - grep "dhcpd" $LTPTMP/tst_dhcpd.out &>$LTPTMP/tst_dhcpd.err || RC=$? + grep "dhcpd[[:blank:]]" $LTPTMP/tst_dhcpd.out &>$LTPTMP/tst_dhcpd.err || RC=$? if [ $RC -eq 0 ] then tst_resm TPASS "INIT: dhcpd is already running. Declaring success" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Ltp-list mailing list Ltp...@li... https://lists.sourceforge.net/lists/listinfo/ltp-list |