testenv_unix.go 348 B

123456789101112131415
  1. // Copyright 2021 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build unix
  5. package testenv
  6. import (
  7. "syscall"
  8. )
  9. // Sigquit is the signal to send to kill a hanging subprocess.
  10. // Send SIGQUIT to get a stack trace.
  11. var Sigquit = syscall.SIGQUIT