aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/pidof.tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/pidof.tests b/testsuite/pidof.tests
index 2a06d2b1c..b360a127b 100755
--- a/testsuite/pidof.tests
+++ b/testsuite/pidof.tests
@@ -18,9 +18,11 @@ testing "pidof (exit with success)" "pidof pidof > /dev/null; echo \$?" \
18 18
19testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" "" 19testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
20 20
21test x"`cat /proc/1/comm`" = x"init" && {
21optional FEATURE_PIDOF_SINGLE 22optional FEATURE_PIDOF_SINGLE
22testing "pidof -s" "pidof -s init" "1\n" "" "" 23testing "pidof -s" "pidof -s init" "1\n" "" ""
23SKIP= 24SKIP=
25}
24 26
25optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE 27optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE
26# This test fails now because process name matching logic has changed, 28# This test fails now because process name matching logic has changed,