aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/killall.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/killall.test b/tests/killall.test
index 8302a574..b15dbf0f 100644
--- a/tests/killall.test
+++ b/tests/killall.test
@@ -13,12 +13,12 @@ cp toybox.killall.test.script toybox.test
tst=toybox.test
./$tst &
-testing "short name" "killall $tst && echo killed ; sleep 0.1 ; \
+testing "short name" "killall -w $tst && echo killed ; \
pgrep -l $tst || echo really" "killed\nreally\n" "" ""
tst=toybox.killall.test.script
./$tst &
-testing "long name" "killall $tst && echo killed ; sleep 0.1 ; \
+testing "long name" "killall -w $tst && echo killed ; \
pgrep -l $tst || echo really" "killed\nreally\n" "" ""
rm -f toybox.killall.test.script toybox.test