瀏覽代碼

graph test: Unmount image via image.Unmount()

This helps us track the unmount
Alexander Larsson 12 年之前
父節點
當前提交
3343b3f8f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 	defer func() {
-		if err := Unmount(rootfs); err != nil {
+		if err := image.Unmount(runtime, rootfs, "testing"); err != nil {
 			t.Error(err)
 		}
 	}()