]> Cypherpunks.ru repositories - gostls13.git/blob - test/sigchld.go
test: split golden.out into expected output per test
[gostls13.git] / test / sigchld.go
1 // [ "$GOOS" == windows ] ||
2 // ($G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out)
3
4 // Copyright 2009 The Go Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style
6 // license that can be found in the LICENSE file.
7
8 package main
9
10 import "syscall"
11
12 func main() {
13         syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
14         println("survived SIGCHLD")
15 }