diff options
author | Ian Lance Taylor <iant@google.com> | 2016-02-03 21:58:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-02-03 21:58:02 +0000 |
commit | f98dd1a338867a408f7c72d73fbad7fe7fc93e3a (patch) | |
tree | 2f8da9862a9c1fe0df138917f997b03439c02773 /libgo/go/syscall/syscall_linux_test.go | |
parent | b081ed4efc144da0c45a6484aebfd10e0eb9fda3 (diff) |
libgo: Update to go1.6rc1.
Reviewed-on: https://go-review.googlesource.com/19200
From-SVN: r233110
Diffstat (limited to 'libgo/go/syscall/syscall_linux_test.go')
-rw-r--r-- | libgo/go/syscall/syscall_linux_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/syscall/syscall_linux_test.go b/libgo/go/syscall/syscall_linux_test.go index 40fce6d68c6..4cabf6c9c90 100644 --- a/libgo/go/syscall/syscall_linux_test.go +++ b/libgo/go/syscall/syscall_linux_test.go @@ -66,11 +66,11 @@ func TestLinuxDeathSignal(t *testing.T) { cmd.Env = []string{"GO_DEATHSIG_PARENT=1"} chldStdin, err := cmd.StdinPipe() if err != nil { - t.Fatal("failed to create new stdin pipe: %v", err) + t.Fatalf("failed to create new stdin pipe: %v", err) } chldStdout, err := cmd.StdoutPipe() if err != nil { - t.Fatal("failed to create new stdout pipe: %v", err) + t.Fatalf("failed to create new stdout pipe: %v", err) } cmd.Stderr = os.Stderr @@ -114,7 +114,7 @@ func deathSignalParent() { err := cmd.Start() if err != nil { - fmt.Fprintf(os.Stderr, "death signal parent error: %v\n") + fmt.Fprintf(os.Stderr, "death signal parent error: %v\n", err) os.Exit(1) } cmd.Wait() |