testsuite/pidof.tests: fix false positive
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -18,9 +18,11 @@ testing "pidof (exit with success)" "pidof pidof > /dev/null; echo \$?" \
|
|||||||
|
|
||||||
testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
|
testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
|
||||||
|
|
||||||
|
test x"`cat /proc/1/comm`" = x"init" && {
|
||||||
optional FEATURE_PIDOF_SINGLE
|
optional FEATURE_PIDOF_SINGLE
|
||||||
testing "pidof -s" "pidof -s init" "1\n" "" ""
|
testing "pidof -s" "pidof -s init" "1\n" "" ""
|
||||||
SKIP=
|
SKIP=
|
||||||
|
}
|
||||||
|
|
||||||
optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE
|
optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE
|
||||||
# This test fails now because process name matching logic has changed,
|
# This test fails now because process name matching logic has changed,
|
||||||
|
Reference in New Issue
Block a user