...

Package testenv

import "golang.org/x/crypto/internal/testenv"
Overview
Index

Overview ▾

Variables

Sigquit is the signal to send to kill a hanging subprocess. Send SIGQUIT to get a stack trace.

var Sigquit = syscall.SIGQUIT

func Command

func Command(t testing.TB, name string, args ...string) *exec.Cmd

Command is like exec.Command, but applies the same changes as testenv.CommandContext (with a default Context).

func CommandContext

func CommandContext(t testing.TB, ctx context.Context, name string, args ...string) *exec.Cmd

CommandContext is like exec.CommandContext, but: