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

Upstream-commit: ec6fe9f2007a0400a441b79c89bced5727589ba9
Component: engine
This commit is contained in:
Solomon Hykes
2013-11-11 18:56:21 +00:00
parent dfe224141f
commit 675c173a12
+3
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)