1
0
mirror of https://github.com/golang/go synced 2024-11-25 09:57:57 -07:00

in golden.out, replace $RUNFILE with '$RUNFILE'

and replace pid with PID

R=r
DELTA=4  (2 added, 0 deleted, 2 changed)
OCL=14727
CL=14727
This commit is contained in:
Russ Cox 2008-09-02 14:26:59 -07:00
parent a0b2ccf9f4
commit 32556ef9e7
2 changed files with 4 additions and 2 deletions

View File

@ -169,7 +169,7 @@ BUG: compilation succeeds incorrectly
=========== bugs/bug092.go
BUG should not crash
/tmp/gorun-r: line 1: 83206 Illegal instruction ./$A.out
$RUNFILE: line 1: PID Illegal instruction ./$A.out
=========== fixedbugs/bug015.go
fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64

View File

@ -47,7 +47,9 @@ do
done
done | # clean up some stack noise
egrep -v '^(r[0-9a-z]+|[cfg]s) +0x' |
sed '/tmp.*Bus error/s/.*Bus/Bus/; /tmp.*Trace.BPT/s/.*Trace/Trace/' > run.out
sed '/tmp.*Bus error/s/.*Bus/Bus/; /tmp.*Trace.BPT/s/.*Trace/Trace/
s!'$RUNFILE'!$RUNFILE!g
/RUNFILE/ s/line 1: *[0-9]*/line 1: PID/' > run.out
case $failed in
1)