mirror of https://github.com/docker/docs.git
graph test: Unmount image via image.Unmount()
This helps us track the unmount
This commit is contained in:
parent
ed741f7b27
commit
0d7ab8db03
|
|
@ -152,7 +152,7 @@ func TestMount(t *testing.T) {
|
||||||
}
|
}
|
||||||
// FIXME: test for mount contents
|
// FIXME: test for mount contents
|
||||||
defer func() {
|
defer func() {
|
||||||
if err := Unmount(rootfs); err != nil {
|
if err := image.Unmount(runtime, rootfs, "testing"); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue