From: Marcin Siodelski Date: Fri, 23 May 2014 17:12:32 +0000 (+0200) Subject: [3406] Fixed cleanup in signal handling tests for DHCPv6. X-Git-Tag: trac3434_base~17^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d0e919f6feef0fe167ef7af1616909617631bb5;p=thirdparty%2Fkea.git [3406] Fixed cleanup in signal handling tests for DHCPv6. --- diff --git a/src/bin/dhcp6/tests/dhcp6_test_func.sh b/src/bin/dhcp6/tests/dhcp6_test_func.sh index e785fbb470..48a237c8e5 100755 --- a/src/bin/dhcp6/tests/dhcp6_test_func.sh +++ b/src/bin/dhcp6/tests/dhcp6_test_func.sh @@ -40,7 +40,7 @@ set_logger() { _GET_PIDS= # Holds space separated list of DHCPv6 pids. _GET_PIDS_NUM= # Holds the number of DHCPv6 server pids. get_pids() { - _GET_PIDS=`ps -o pid,command | grep b10-dhcp6 | grep -v grep | awk '{print $1}'` + _GET_PIDS=`ps -ax -o pid,command | grep b10-dhcp6 | grep -v grep | awk '{print $1}'` _GET_PIDS_NUM=`printf "%s" "${_GET_PIDS}" | wc -w | awk '{print $1}'` }