Add paired 'mount' log for 'unmount'
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
parent
8395e3a89a
commit
639c5799a2
@ -941,6 +941,8 @@ func check128LayersMount(name string) func(ctx context.Context, t *testing.T, sn
|
|||||||
t.Fatalf("[layer %d] failed to mount on the target(%s): %+v", i, preparing, err)
|
t.Fatalf("[layer %d] failed to mount on the target(%s): %+v", i, preparing, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.Log("mount", preparing)
|
||||||
|
|
||||||
if err := fstest.CheckDirectoryEqual(preparing, flat); err != nil {
|
if err := fstest.CheckDirectoryEqual(preparing, flat); err != nil {
|
||||||
testutil.Unmount(t, preparing)
|
testutil.Unmount(t, preparing)
|
||||||
t.Fatalf("[layer %d] preparing doesn't equal to flat before apply: %+v", i, err)
|
t.Fatalf("[layer %d] preparing doesn't equal to flat before apply: %+v", i, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user