projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9459379
)
testsuite/pidof.tests: fix false positive
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 27 Jun 2018 12:26:21 +0000
(14:26 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 27 Jun 2018 12:26:21 +0000
(14:26 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/pidof.tests
patch
|
blob
|
history
diff --git
a/testsuite/pidof.tests
b/testsuite/pidof.tests
index 2a06d2b1c1f2966b9e03659a581a1e8a18701208..b360a127b2915815c722f8080c2865aef0179191 100755
(executable)
--- a/
testsuite/pidof.tests
+++ b/
testsuite/pidof.tests
@@
-18,9
+18,11
@@
testing "pidof (exit with success)" "pidof pidof > /dev/null; echo \$?" \
testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" ""
+test x"`cat /proc/1/comm`" = x"init" && {
optional FEATURE_PIDOF_SINGLE
testing "pidof -s" "pidof -s init" "1\n" "" ""
SKIP=
+}
optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE
# This test fails now because process name matching logic has changed,