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
Родитель e87c3ea342
Коммит ec6fe9f200
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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)