bug-coreutils
[Top][All Lists]
Advanced

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

Re: FYI: new test for a hard-to-detect race fix, using gdb(!)


From: Thomas Schwinge
Subject: Re: FYI: new test for a hard-to-detect race fix, using gdb(!)
Date: Fri, 15 Dec 2006 10:29:15 +0100
User-agent: Mutt/1.5.9i

Hello!

On Thu, Dec 14, 2006 at 05:21:34PM +0100, Jim Meyering wrote:
> [...]

> +( gdb --version ) > gdb.out 2>&1
> +if test ! -s gdb.out; then
> +  echo "$0: can't run gdb.  Skipping this test." 1>&2
> +  (exit 77); exit 77
> +fi

#v+
$ ( nonexistent ) > out 2>&1
$ test ! -s out && echo can\'t run || echo continuing
continuing
#v-

(Similar case again later, I think.)


Also, why do you need to run the `gdb' commands from subshells?


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

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