Hack: set NONUKE environment variable to run the tests without cleanup, to investigate temp directories

This commit is contained in:
Solomon Hykes 2013-11-11 18:56:21 +00:00
parent e87c3ea342
commit ec6fe9f200

View file

@ -36,6 +36,9 @@ var (
)
func nuke(runtime *Runtime) error {
if nonuke := os.Getenv("NONUKE"); nonuke != "" {
return nil
}
var wg sync.WaitGroup
for _, container := range runtime.List() {
wg.Add(1)