summaryrefslogtreecommitdiff
path: root/testsuite/pidof.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pidof.tests')
-rwxr-xr-xtestsuite/pidof.tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/pidof.tests b/testsuite/pidof.tests
index 45df1a958..624b0a720 100755
--- a/testsuite/pidof.tests
+++ b/testsuite/pidof.tests
@@ -20,12 +20,14 @@ testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
20 20
21optional FEATURE_PIDOF_SINGLE 21optional FEATURE_PIDOF_SINGLE
22testing "pidof -s" "pidof -s init" "1\n" "" "" 22testing "pidof -s" "pidof -s init" "1\n" "" ""
23SKIP=
23 24
24optional FEATURE_PIDOF_OMIT 25optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE
25# This test fails now because process name matching logic has changed, 26# This test fails now because process name matching logic has changed,
26# but new logic is not "wrong" either... see find_pid_by_name.c comments 27# but new logic is not "wrong" either... see find_pid_by_name.c comments
27#testing "pidof -o %PPID" "pidof -o %PPID pidof.tests | grep -o -w $$" "" "" "" 28#testing "pidof -o %PPID" "pidof -o %PPID pidof.tests | grep -o -w $$" "" "" ""
28testing "pidof -o %PPID NOP" "pidof -o %PPID -s init" "1\n" "" "" 29testing "pidof -o %PPID NOP" "pidof -o %PPID -s init" "1\n" "" ""
29testing "pidof -o init" "pidof -o 1 init | grep -o -w 1" "" "" "" 30testing "pidof -o init" "pidof -o 1 init | grep -o -w 1" "" "" ""
31SKIP=
30 32
31exit $FAILCOUNT 33exit $FAILCOUNT