graph test: Unmount image via image.Unmount()
This helps us track the unmount Upstream-commit: 3343b3f8f8520c2a1a841675609b4b2c54f3533d Component: engine
This commit is contained in:
committed by
Victor Vieux
parent
51abe008c8
commit
8b38bd9ddf
@ -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