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
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
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