MCPcopy Create free account
hub / github.com/koding/kite / pause

Function pause

kontrol/helper_test.go:316–324  ·  view source on GitHub ↗
(args ...interface{})

Source from the content-addressed store, hash-verified

314}
315
316func 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}

Callers 1

TestUpdateKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected