From 3343b3f8f8520c2a1a841675609b4b2c54f3533d Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 9 Sep 2013 13:48:58 +0200 Subject: [PATCH] graph test: Unmount image via image.Unmount() This helps us track the unmount --- graph_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph_test.go b/graph_test.go index d89e6efe9..ecb5ffb34 100644 --- a/graph_test.go +++ b/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) } }()