aboutsummaryrefslogtreecommitdiff
path: root/testsuite/pidof.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 03:53:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 03:53:57 +0200
commitbfa1b2e8e8aaddcf849011a12cb2ac634b27f339 (patch)
tree4a5fbaef1371fb8b2ca504e753fa2a31d25234d4 /testsuite/pidof.tests
parent6334390aef2eb52cc827a6d18f942b2b8a04ef59 (diff)
downloadbusybox-w32-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.tar.gz
busybox-w32-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.tar.bz2
busybox-w32-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.zip
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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