aboutsummaryrefslogtreecommitdiff
path: root/test/sigchld.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2012-01-18 16:12:24 -0800
committerIan Lance Taylor <iant@golang.org>2012-01-18 16:12:24 -0800
commit5e77b009d0e9dc8c92fe91d0a2d3182e9fff10ae (patch)
tree0a7dc29c0aca17c6029d1570959d760e441bae49 /test/sigchld.go
parenteaf8295f3d587fcd615dbaa310954e9e6e5cdad5 (diff)
downloadgo-5e77b009d0e9dc8c92fe91d0a2d3182e9fff10ae.tar.gz
go-5e77b009d0e9dc8c92fe91d0a2d3182e9fff10ae.zip
test: split golden.out into expected output per test
This will permit gccgo to check test output. R=golang-dev, r CC=golang-dev https://golang.org/cl/5554056
Diffstat (limited to 'test/sigchld.go')
-rw-r--r--test/sigchld.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sigchld.go b/test/sigchld.go
index 74d428efc2..e7c3d5abb4 100644
--- a/test/sigchld.go
+++ b/test/sigchld.go
@@ -1,5 +1,5 @@
-// ([ "$GOOS" = windows ] && echo survived SIGCHLD) ||
-// ($G $D/$F.go && $L $F.$A && ./$A.out)
+// [ "$GOOS" == windows ] ||
+// ($G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out)
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style