summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-20 08:27:14 -0700
committerRuss Cox <rsc@golang.org>2009-10-20 08:27:14 -0700
commitec0769af65ca649a14bad1c7c4126f5a283feb9e (patch)
tree88683d61828bec981f8c8362e12d4eb01a60033f /test/run
parenteb3b49f5dfe1e9abe8e95d2d2cd12e4fa5a39faa (diff)
downloadgo-ec0769af65ca649a14bad1c7c4126f5a283feb9e.tar.gz
address bug193 and add note to spec about it.
R=ken OCL=35920 CL=35920
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/run b/test/run
index aa4b6003d..164636a3a 100755
--- a/test/run
+++ b/test/run
@@ -47,7 +47,7 @@ for dir in . ken chan interface nilptr fixedbugs bugs
do
echo
echo '==' $dir'/'
- for i in $dir/*.go
+ for i in $(ls $dir/*.go 2>/dev/null)
do
export F=$(basename $i .go)
export D=$dir
@@ -75,8 +75,9 @@ 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/
s!'$RUNFILE'!$RUNFILE!g
- s/ PC=0x[0-9a-f]*/ PC=xxx/
+ s/^PC=0x[0-9a-f]*/pc: xxx/
s/^pc: 0x[0-9a-f]*/pc: xxx/
+ s/PC=0x[0-9a-f]*/PC=xxx/
/^Trace\/breakpoint trap/d
/^Trace\/BPT trap/d
/RUNFILE/ s/line 1: *[0-9]*/line 1: PID/