// GetFrameworkOutput captures writes to framework.Output during a test suite setup // and returns it together with any explicit Exit call code, -1 if none. // May only be called once per test binary. func GetFrameworkOutput(t *testing.T, flags map[string]string) (output string, finalExitCode int) { … } type exitCode …