// hasExec reports whether the current system can start new processes // using os.StartProcess or (more commonly) exec.Command. // Copied from internal/testenv.HasExec func hasExec() bool { … } // mustHaveExec checks that the current system can start new processes // using os.StartProcess or (more commonly) exec.Command. // If not, mustHaveExec calls t.Skip with an explanation. // Copied from internal/testenv.MustHaveExec func mustHaveExec(t testing.TB) { … } func TestFixCmd(t *testing.T) { … } func TestCommand(t *testing.T) { … } func TestLookPath(t *testing.T) { … }