func scriptConditions(t *testing.T) map[string]script.Cond { … } func defaultCCIsAbsolute(s *script.State) (bool, error) { … } func ccIs(s *script.State, want string) (bool, error) { … } var scriptNetEnabled … func hasNet(s *script.State, host string) (bool, error) { … } func isCaseSensitive() (bool, error) { … } func isTrimpath() (bool, error) { … } func hasWorkingGit() bool { … }