From e026e71b16c8532ad707a0b43b4f02c7a366257e Mon Sep 17 00:00:00 2001 From: Tom Thorogood Date: Sun, 17 Nov 2019 22:58:16 +1030 Subject: [PATCH] Remove stray errno check from TestSignalM --- src/runtime/crash_unix_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/runtime/crash_unix_test.go b/src/runtime/crash_unix_test.go index e494dcb988..1420b3206a 100644 --- a/src/runtime/crash_unix_test.go +++ b/src/runtime/crash_unix_test.go @@ -326,13 +326,9 @@ func TestSignalM(t *testing.T) { wg.Add(1) go func() { runtime.LockOSThread() - var errno int32 want, got = runtime.WaitForSigusr1(r, w, func(mp *runtime.M) { ready <- mp }) - if errno != 0 { - t.Error(syscall.Errno(errno)) - } runtime.UnlockOSThread() wg.Done() }()