address bug193 and add note to spec about it.
R=ken
OCL=35920
CL=35920
diff --git a/test/bugs/placeholder b/test/bugs/placeholder
new file mode 100644
index 0000000..b816d34
--- /dev/null
+++ b/test/bugs/placeholder
@@ -0,0 +1,2 @@
+This file keeps Mercurial from deleting the directory
+when there are no known bugs.
diff --git a/test/bugs/bug193.go b/test/fixedbugs/bug193.go
similarity index 100%
rename from test/bugs/bug193.go
rename to test/fixedbugs/bug193.go
diff --git a/test/golden.out b/test/golden.out
index 79c2990..c87d7e5 100644
--- a/test/golden.out
+++ b/test/golden.out
@@ -201,6 +201,3 @@
panic PC=xxx
== bugs/
-
-=========== bugs/bug193.go
-BUG: errchk: bugs/bug193.go:14: missing expected error: 'shift'
diff --git a/test/run b/test/run
index aa4b600..164636a 100755
--- a/test/run
+++ b/test/run
@@ -47,7 +47,7 @@
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 @@
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/