set -e
+# no core files, please
+ulimit -c 0
+
xcd() {
echo
echo --- cd $1
== nilptr/
-=========== nilptr/arrayindex.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/arrayindex1.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/arraytoslice.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/arraytoslice1.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/arraytoslice2.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/slicearray.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/structfield.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/structfield1.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/structfield2.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
-=========== nilptr/structfieldaddr.go
-SIGSEGV: segmentation violation
-Faulting address: 0x0
-pc: xxx
-
-
== fixedbugs/
=========== fixedbugs/bug016.go
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
+// $G $D/$F.go && $L $F.$A &&
+// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
# on thresher, 3GB suffices to run the tests; with 2GB, peano fails.
ulimit -v 4000000
+# no core files please
+ulimit -c 0
+
true >pass.out >times.out
for dir in . ken chan interface nilptr fixedbugs bugs