From 38e239f7c1bda5e4dbc0c37abecb806386b223ae Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 25 Jun 2019 16:27:00 -0700 Subject: 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)... --- tests/killall.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3