From 932428a1ed5832fdb25a170e2d9b8c994cc5e72a Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 7 Oct 2013 09:04:20 -0700 Subject: [PATCH] os/signal: make test logs reflect reality R=golang-dev, iant CC=golang-dev https://golang.org/cl/14470043 --- src/pkg/os/signal/signal_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pkg/os/signal/signal_test.go b/src/pkg/os/signal/signal_test.go index 5fc8065fe8..741f2a0edf 100644 --- a/src/pkg/os/signal/signal_test.go +++ b/src/pkg/os/signal/signal_test.go @@ -36,8 +36,8 @@ func TestSignal(t *testing.T) { Notify(c, syscall.SIGHUP) defer Stop(c) - t.Logf("sighup...") // Send this process a SIGHUP + t.Logf("sighup...") syscall.Kill(syscall.Getpid(), syscall.SIGHUP) waitSig(t, c, syscall.SIGHUP) @@ -45,18 +45,18 @@ func TestSignal(t *testing.T) { c1 := make(chan os.Signal, 1) Notify(c1) - t.Logf("sigwinch...") // Send this process a SIGWINCH + t.Logf("sigwinch...") syscall.Kill(syscall.Getpid(), syscall.SIGWINCH) waitSig(t, c1, syscall.SIGWINCH) // Send two more SIGHUPs, to make sure that // they get delivered on c1 and that not reading // from c does not block everything. - t.Logf("sigwinch...") + t.Logf("sighup...") syscall.Kill(syscall.Getpid(), syscall.SIGHUP) waitSig(t, c1, syscall.SIGHUP) - t.Logf("sigwinch...") + t.Logf("sighup...") syscall.Kill(syscall.Getpid(), syscall.SIGHUP) waitSig(t, c1, syscall.SIGHUP) -- 2.50.0