[Toybox] [PATCH] timeout.test: fix test for systems that don't have bash.

Rob Landley rob at landley.net
Sat Jul 23 21:12:05 PDT 2022


On 7/21/22 12:05, enh wrote:
> Ping? 
> 
> On Wed, Jul 20, 2022, 16:50 enh <enh at google.com <mailto:enh at google.com>> wrote:
> 
>     (Such as Android.)
>     ---
>      tests/timeout.test | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)

With /bin/sh pointing to Debian's Defective Annoying SHell:

trap: SIGTERM: bad trap
PASS: timeout trap-and-exit
trap: SIGTERM: bad trap

Which is why I had it say bash instead of dash. (And just wasted time debugging
it again because I'd forgotten and thought my recent lib/args.c changes broke
it...) Basically, while dash continues to exist #!/bin/sh is broken and useless.

Rob

P.S. I'm now at five bounce messages from Dreamhost, and need to resend all that
if they can get the list back up eventually...



More information about the Toybox mailing list