aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-06-25 16:27:00 -0700
committerRob Landley <rob@landley.net>2019-06-25 18:45:53 -0500
commit38e239f7c1bda5e4dbc0c37abecb806386b223ae (patch)
tree0d9a18914ea0de0869220818d4eff08e4ea24c4d /tests
parentfcac2a821c9b382ee265b9f1ed8a251f47c6892f (diff)
downloadtoybox-38e239f7c1bda5e4dbc0c37abecb806386b223ae.tar.gz
killall.test: don't assume the shell is /bin/sh.
The killall test still fails with toybox. Seems like right now killall and pidof share name to pid logic, but playing about with the desktop killall (which does pass this test), it seems like killall actually behaves more like pgrep than pidof (which does seem to be this limited on the desktop too)...
Diffstat (limited to 'tests')
-rw-r--r--tests/killall.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/killall.test b/tests/killall.test
index 100ac7ca..40f6cb35 100644
--- a/tests/killall.test
+++ b/tests/killall.test
@@ -4,7 +4,7 @@
#testing "name" "command" "result" "infile" "stdin"
-echo "#!/bin/sh
+echo "#!$(which sh)
yes > /dev/null" > toybox.killall.test.script
chmod a+x toybox.killall.test.script