test: remove redundant mountPoint

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun 2022-03-16 10:01:47 +08:00
parent 18ec2761c0
commit 52d307ac13
No known key found for this signature in database
GPG Key ID: DAEBBD2E34C111E6

View File

@ -121,10 +121,6 @@ func TestBtrfsMounts(t *testing.T) {
testutil.RequiresRoot(t) testutil.RequiresRoot(t)
ctx := context.Background() ctx := context.Background()
// create temporary directory for mount point
mountPoint := t.TempDir()
t.Log("temporary mount point created", mountPoint)
root := t.TempDir() root := t.TempDir()
b, c, err := boltSnapshotter(t)(ctx, root) b, c, err := boltSnapshotter(t)(ctx, root)