1 // [ "$GOOS" == windows ] ||
2 // ($G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out)
4 // NOTE: This test is not run by 'run.go' and so not run by all.bash.
5 // To run this test you must use the ./run shell script.
7 // Copyright 2009 The Go Authors. All rights reserved.
8 // Use of this source code is governed by a BSD-style
9 // license that can be found in the LICENSE file.
11 // Test that a program can survive SIGCHLD.
18 syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
19 println("survived SIGCHLD")