mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
graph test: Unmount image via image.Unmount()
This helps us track the unmount
This commit is contained in:
committed by
Victor Vieux
parent
c6e8813c97
commit
3343b3f8f8
+1
-1
@@ -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)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user