1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:54:40 -07:00

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
This commit is contained in:
Russ Cox 2009-07-21 19:45:06 -07:00
parent 052a66babd
commit dbba489951
2 changed files with 3 additions and 3 deletions

View File

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

View File

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