Add paired 'mount' log for 'unmount'

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
Paul "TBBle" Hampson 2021-01-13 02:52:07 +11:00 committed by Gabriel Adrian Samfira
parent 8395e3a89a
commit 639c5799a2

View File

@ -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.Log("mount", preparing)
if err := fstest.CheckDirectoryEqual(preparing, flat); err != nil {
testutil.Unmount(t, preparing)
t.Fatalf("[layer %d] preparing doesn't equal to flat before apply: %+v", i, err)