diff options
Diffstat (limited to 'test/nilptr')
| -rw-r--r-- | test/nilptr/arrayindex.go | 3 | ||||
| -rw-r--r-- | test/nilptr/arrayindex1.go | 3 | ||||
| -rw-r--r-- | test/nilptr/arraytoslice.go | 3 | ||||
| -rw-r--r-- | test/nilptr/arraytoslice1.go | 3 | ||||
| -rw-r--r-- | test/nilptr/arraytoslice2.go | 3 | ||||
| -rw-r--r-- | test/nilptr/slicearray.go | 3 | ||||
| -rw-r--r-- | test/nilptr/structfield.go | 3 | ||||
| -rw-r--r-- | test/nilptr/structfield1.go | 3 | ||||
| -rw-r--r-- | test/nilptr/structfield2.go | 3 | ||||
| -rw-r--r-- | test/nilptr/structfieldaddr.go | 3 |
10 files changed, 20 insertions, 10 deletions
diff --git a/test/nilptr/arrayindex.go b/test/nilptr/arrayindex.go index 0bc6bf4a89..c42dedee81 100644 --- a/test/nilptr/arrayindex.go +++ b/test/nilptr/arrayindex.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/arrayindex1.go b/test/nilptr/arrayindex1.go index ac72b789d6..59126f82d5 100644 --- a/test/nilptr/arrayindex1.go +++ b/test/nilptr/arrayindex1.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/arraytoslice.go b/test/nilptr/arraytoslice.go index 07ecfe01f9..4864d68552 100644 --- a/test/nilptr/arraytoslice.go +++ b/test/nilptr/arraytoslice.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/arraytoslice1.go b/test/nilptr/arraytoslice1.go index 78c0d8538d..1a479dcdb2 100644 --- a/test/nilptr/arraytoslice1.go +++ b/test/nilptr/arraytoslice1.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/arraytoslice2.go b/test/nilptr/arraytoslice2.go index 52a238eb29..0990b899dd 100644 --- a/test/nilptr/arraytoslice2.go +++ b/test/nilptr/arraytoslice2.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/slicearray.go b/test/nilptr/slicearray.go index d1d2a25d99..7a156b5e64 100644 --- a/test/nilptr/slicearray.go +++ b/test/nilptr/slicearray.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/structfield.go b/test/nilptr/structfield.go index 51da7a9a57..22db500d7d 100644 --- a/test/nilptr/structfield.go +++ b/test/nilptr/structfield.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/structfield1.go b/test/nilptr/structfield1.go index 5390a643d6..520136805f 100644 --- a/test/nilptr/structfield1.go +++ b/test/nilptr/structfield1.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/structfield2.go b/test/nilptr/structfield2.go index f11e3df67d..a0a552c933 100644 --- a/test/nilptr/structfield2.go +++ b/test/nilptr/structfield2.go @@ -1,4 +1,5 @@ -// $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 diff --git a/test/nilptr/structfieldaddr.go b/test/nilptr/structfieldaddr.go index 5ac5deeb6b..32e9f79315 100644 --- a/test/nilptr/structfieldaddr.go +++ b/test/nilptr/structfieldaddr.go @@ -1,4 +1,5 @@ -// $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 |
