1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

graph test: Unmount image via image.Unmount()

This helps us track the unmount
This commit is contained in:
Alexander Larsson 2013-09-09 13:48:58 +02:00 committed by Tianon Gravi
parent ed741f7b27
commit 0d7ab8db03

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