func init() { … } func cmdPwd(...string) { … } func TestCredentialNoSetGroups(t *testing.T) { … } // For issue #19314: make sure that SIGSTOP does not cause the process // to appear done. func TestWaitid(t *testing.T) { … } // https://go.dev/issue/50599: if Env is not set explicitly, setting Dir should // implicitly update PWD to the correct path, and Environ should list the // updated value. func TestImplicitPWD(t *testing.T) { … } // However, if cmd.Env is set explicitly, setting Dir should not override it. // (This checks that the implementation for https://go.dev/issue/50599 doesn't // break existing users who may have explicitly mismatched the PWD variable.) func TestExplicitPWD(t *testing.T) { … }