go/test/sigchld.go
Russ Cox 0b09a56a64 test: disable sigchld test on Windows
Alex Brainman reports that this is the only test
that keeps us from running test/run.

R=alex.brainman, lucio.dere, bradfitz, hectorchu
CC=golang-dev
https://golang.org/cl/4777043
2011-09-26 13:11:22 -04:00

16 lines
354 B
Go

// [ "$GOOS" = windows ] ||
// $G $D/$F.go && $L $F.$A && ./$A.out
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import "syscall"
func main() {
syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
println("survived SIGCHLD")
}