]> Cypherpunks repositories - gostls13.git/commitdiff
in golden.out, replace $RUNFILE with '$RUNFILE'
authorRuss Cox <rsc@golang.org>
Tue, 2 Sep 2008 21:26:59 +0000 (14:26 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 2 Sep 2008 21:26:59 +0000 (14:26 -0700)
and replace pid with PID

R=r
DELTA=4  (2 added, 0 deleted, 2 changed)
OCL=14727
CL=14727

test/golden.out
test/run

index ed4b9c4a1e2e08ab215647d8b4132ab0040e2cd3..652866e86cf9f501608848d0b202b8906d970352 100644 (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
index fbc16fc0d1b9e0d93362a473500da5a98f224bf3..dd243120e826fc682da10a8128223a327f64a1c7 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -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)