aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-05-23 10:46:47 -0700
committerRob Landley <rob@landley.net>2016-05-23 18:27:13 -0500
commite2ea4fc86b67b70b18df8bc27fcf4ec160d3ff7d (patch)
tree361a5bf4bbcdf942334f02619d440dc327f9a385 /tests
parent148a0c3760bfd6f03152f44422a48b37a4a9f393 (diff)
downloadtoybox-e2ea4fc86b67b70b18df8bc27fcf4ec160d3ff7d.tar.gz
Fix remaining pkill tests.
I don't know that anyone cares, but these failures made me think I'd broken something while testing the -SIGNAL patch. The -s parsing wasn't taking into account that -s 0 is a special case, and the -o test was assuming that pkill can tell the difference between two processes started at roughly the same time. Hopefully there's higher-resolution data available that can avoid the need for yet another sleep in the tests.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/pkill.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pkill.test b/tests/pkill.test
index 7a20ae5c..0bea32ab 100755
--- a/tests/pkill.test
+++ b/tests/pkill.test
@@ -63,6 +63,7 @@ killall yes >/dev/null 2>&1
yes >/dev/null &
proc1=$!
+sleep 1
yes >/dev/null &
proc2=$!
sleep 1