summaryrefslogtreecommitdiff
path: root/test/nilptr/arrayindex.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/nilptr/arrayindex.go')
-rw-r--r--test/nilptr/arrayindex.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nilptr/arrayindex.go b/test/nilptr/arrayindex.go
index 0bc6bf4a8..c42dedee8 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