[coreutils] [PATCH] Cater for extra strace output when building 32-on-64.

2010-10-30 Thread Nix
When building 32-bit coreutils on a 64-bit Linux platform, the stat-free-symlinks test fails because the strace output it diffs against contains an extra informative line emitted by strace of the general form [ Process PID=28429 runs in 32 bit mode. ] So dike that line out, if it exists, before

Re: [coreutils] [PATCH] Cater for extra strace output when building 32-on-64.

2010-10-30 Thread Nix
On 30 Oct 2010, Sami Kerola spake thusly: On Sat, Oct 30, 2010 at 15:20, Nix n...@esperi.org.uk wrote: +grep -v 'Process PID=[1-9][0-9]* runs in 32 bit mode.' out out-destrace Even thou it's rare PID can be single digit number. Also I don't see Hence the *. The PID cannot be zero, so this

Re: [coreutils] [PATCH] Cater for extra strace output when building 32-on-64.

2010-10-30 Thread Sami Kerola
On Sat, Oct 30, 2010 at 15:20, Nix n...@esperi.org.uk wrote: +grep -v 'Process PID=[1-9][0-9]* runs in 32 bit mode.' out out-destrace Even thou it's rare PID can be single digit number. Also I don't see grep -v in use for other tests. I think following is better. sed '/Process PID=[0-9]* runs