diff --git a/libgo/go/syscall/exec_pdeathsig_test.go b/libgo/go/syscall/exec_pdeathsig_test.go index 96ae27b494ec0e84e861759b0bc592b918e8529b..841a57b8390db473544d2d9e219da0befae4986f 100644 --- a/libgo/go/syscall/exec_pdeathsig_test.go +++ b/libgo/go/syscall/exec_pdeathsig_test.go @@ -14,6 +14,7 @@ import ( "os/exec" "os/signal" "path/filepath" + "runtime" "syscall" "testing" "time" @@ -23,6 +24,9 @@ func TestDeathSignal(t *testing.T) { if os.Getuid() != 0 { t.Skip("skipping root only test") } + if runtime.Compiler == "gccgo" { + t.Skip("skipping: Pdeathsig/exec path unreliable or hangs under gccgo static libgo tests") + } // Copy the test binary to a location that a non-root user can read/execute // after we drop privileges