Commit dbba4899 authored by Russ Cox's avatar Russ Cox

do not echo command in errchk,

so that golden.out does not include
the name of the compiler (which is
arch-specific and shows up in diffs).

R=r,iant
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=31980
CL=31983
parent 052a66ba
......@@ -36,7 +36,7 @@ rm -f $TMPOUT $TMPERR $TMPALL $TMPTMP $TMPSTAT $TMPBUG
trap "rm -f $TMPOUT $TMPERR $TMPALL $TMPTMP $TMPSTAT $TMPBUG" 0 1 2 3 14 15
if $* >$TMPOUT 2>$TMPERR; then
echo 1>&2 "BUG: errchk: command succeeded unexpectedly: " "$@"
echo 1>&2 "BUG: errchk: command succeeded unexpectedly"
cat $TMPOUT
cat 1>&2 $TMPERR
rm -f $TMPOUT $TMPERR
......
......@@ -107,10 +107,10 @@ BUG: bug159
BUG: should fail
=========== bugs/bug169.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug169.go
BUG: errchk: command succeeded unexpectedly
=========== bugs/bug170.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug170.go
BUG: errchk: command succeeded unexpectedly
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment