From 9adfe0f4755aad4e81e8f1d624cec99e8c212e77 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 22 Nov 2017 11:27:16 -0800 Subject: [PATCH] os/signal: don't run TestTerminalSignal on Solaris Fixes #22849 Change-Id: Icf7f07d0d1d0669f5db4943030588646c819c62a Reviewed-on: https://go-review.googlesource.com/79495 Run-TryBot: Ian Lance Taylor Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/os/signal/internal/pty/pty.go | 2 +- src/os/signal/signal_cgo_test.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/os/signal/internal/pty/pty.go b/src/os/signal/internal/pty/pty.go index 704af3f67b..c59185adb5 100644 --- a/src/os/signal/internal/pty/pty.go +++ b/src/os/signal/internal/pty/pty.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin dragonfly freebsd linux netbsd openbsd solaris +// +build darwin dragonfly freebsd linux netbsd openbsd // +build cgo // Package pty is a simple pseudo-terminal package for Unix systems, diff --git a/src/os/signal/signal_cgo_test.go b/src/os/signal/signal_cgo_test.go index 0daaacb07c..a11adca0cc 100644 --- a/src/os/signal/signal_cgo_test.go +++ b/src/os/signal/signal_cgo_test.go @@ -2,9 +2,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin dragonfly freebsd linux netbsd openbsd solaris +// +build darwin dragonfly freebsd linux netbsd openbsd // +build cgo +// Note that this test does not work on Solaris: issue #22849. + package signal_test import ( -- 2.48.1