summaryrefslogtreecommitdiff
path: root/test/deferprint.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
commite61b231d30e28b67eab421dd89e423bc4e118d4e (patch)
tree1b93d53752abe726c62c3c7106a96b4ab646224e /test/deferprint.go
parent0c1ca60295846bcb7197aec8cfca7c9db4363768 (diff)
downloadgo-e61b231d30e28b67eab421dd89e423bc4e118d4e.tar.gz
test: split golden.out into expected output per test
This will permit gccgo to check test output. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5554056
Diffstat (limited to 'test/deferprint.go')
-rw-r--r--test/deferprint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/deferprint.go b/test/deferprint.go
index f1e75266f..0e0c61821 100644
--- a/test/deferprint.go
+++ b/test/deferprint.go
@@ -1,4 +1,4 @@
-// $G $D/$F.go && $L $F.$A && ./$A.out
+// $G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style