This is failing on dash, which apparently can't cope with the "SIG" prefix that everyone else can. Luckily everyone else can cope without... --- tests/timeout.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
From 69dc83fc9e4e9745dc56ab6516e178a9cbba9f68 Mon Sep 17 00:00:00 2001 From: Elliott Hughes <[email protected]> Date: Thu, 28 Jul 2022 23:16:08 +0000 Subject: [PATCH] timeout.test: use POSIX "trap" syntax.
This is failing on dash, which apparently can't cope with the "SIG" prefix that everyone else can. Luckily everyone else can cope without... --- tests/timeout.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/timeout.test b/tests/timeout.test index 42994032..694540ae 100755 --- a/tests/timeout.test +++ b/tests/timeout.test @@ -23,7 +23,7 @@ testcmd "--preserve-status killed" '--preserve-status -s 9 .1 sleep 100 ; echo $ # signal and exits, we need to report that as a timeout (unless overridden). cat > loop.sh <<EOF #!/bin/sh -trap "exit 3" SIGTERM +trap "exit 3" TERM while true; do : done -- 2.37.1.455.g008518b4e5-goog
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
