(args ...interface{})
| 314 | } |
| 315 | |
| 316 | func pause(args ...interface{}) { |
| 317 | if testing.Verbose() && interactive { |
| 318 | fmt.Println("[PAUSE]", fmt.Sprint(args...), fmt.Sprintf(`("kill -1 %d" to continue)`, os.Getpid())) |
| 319 | ch := make(chan os.Signal, 1) |
| 320 | signal.Notify(ch, syscall.SIGHUP) |
| 321 | <-ch |
| 322 | signal.Stop(ch) |
| 323 | } |
| 324 | } |