(homeDir string, pluginHomeDir string)
| 55 | } |
| 56 | |
| 57 | func setHomeDirsTo(homeDir string, pluginHomeDir string) { |
| 58 | GinkgoWriter.Write([]byte(fmt.Sprintln("\nHOME DIR>", homeDir))) |
| 59 | |
| 60 | Expect(os.Setenv("CF_HOME", homeDir)).To(Succeed()) |
| 61 | Expect(os.Setenv("CF_PLUGIN_HOME", pluginHomeDir)).To(Succeed()) |
| 62 | } |
| 63 | |
| 64 | // SetupSynchronizedSuite runs a setup function in its own CF context, creating |
| 65 | // and destroying a home directory around it. |
no test coverage detected