graph test: Unmount image via image.Unmount()

This helps us track the unmount
Upstream-commit: 3343b3f8f8520c2a1a841675609b4b2c54f3533d
Component: engine
This commit is contained in:
Alexander Larsson
2013-09-09 13:48:58 +02:00
committed by Victor Vieux
parent 51abe008c8
commit 8b38bd9ddf

View File

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