Parcourir la source

graph test: Unmount image via image.Unmount()

This helps us track the unmount
Alexander Larsson il y a 12 ans
Parent
commit
3343b3f8f8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      graph_test.go

+ 1 - 1
graph_test.go

@@ -152,7 +152,7 @@ func TestMount(t *testing.T) {
 	}
 	}
 	// FIXME: test for mount contents
 	// FIXME: test for mount contents
 	defer func() {
 	defer func() {
-		if err := Unmount(rootfs); err != nil {
+		if err := image.Unmount(runtime, rootfs, "testing"); err != nil {
 			t.Error(err)
 			t.Error(err)
 		}
 		}
 	}()
 	}()