bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test failure on Haiku


From: Eric Blake
Subject: Re: test failure on Haiku
Date: Sat, 29 May 2021 07:17:57 -0500
User-agent: NeoMutt/20210205

On Sat, May 29, 2021 at 05:06:00AM -0500, Hanspeter Niederstrasser wrote:
> Hello,
> 
> I'm not on Haiku, but on macOS 10.14.6 and am having a similar test failure
> with m4-1.4.19 and 198.sysval:
> 
> Checking ./197.sysval
> Checking ./198.sysval
> @ ../doc/m4.texi:6751: Origin of test
> ./198.sysval: stderr mismatch
> --- m4-tmp.38611/m4-xerr      2021-05-29 04:47:35.000000000 -0500
> +++ m4-tmp.38611/m4-err       2021-05-29 04:47:35.000000000 -0500
> @@ -0,0 +1 @@
> +sh: line 1: 40596 Killed: 9               /bin/sh -c 'kill -9 $$'
> Checking ./199.mkstemp

Hmm.  My attempted workaround pollutes stderr on some setups, thus
causing this failure, even though I had not encountered it on any of
the platforms I tested before the release.  I'll fix it for m4 1.4.20,
but in the meantime, you can ignore the failure and use the build (the
bug is in the testsuite, not in the built binary).

> 
> When I run the commands from the terminal that you suggested in the previous
> message, I get this:
> 
> ```
> [Bubble:~] nieder $ /bin/sh -c '/bin/sh -c "kill 9 \$\$"; echo $?'

My bad; I missed the '-9' instead of '9' in that suggested command.

> /bin/sh: line 0: kill: (9) - No such process
> /bin/sh: line 1: 41099 Terminated: 15          /bin/sh -c "kill 9 \$\$"
> 143
> [Bubble:~] nieder $ (SHELL=ksh; $SHELL -c "$SHELL"' -c "kill -9 \$\$"
> 2>/dev/null; echo $?')
> ksh: 41102: Killed
> 265
> ```
> 
> Hanspeter
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]