cephfs: add a missing userMount() to tests

Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
Sven Anderson 2021-03-04 14:45:38 +01:00 committed by mergify[bot]
parent 97bccd7a90
commit 527553718c
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ func TestSymlink(t *testing.T) {
}) })
t.Run("symlinkExistsError", func(t *testing.T) { t.Run("symlinkExistsError", func(t *testing.T) {
useMount(t)
fname1 := "TestFile1.txt" fname1 := "TestFile1.txt"
f1, err := mount.Open(fname1, os.O_RDWR|os.O_CREATE, 0666) f1, err := mount.Open(fname1, os.O_RDWR|os.O_CREATE, 0666)
assert.NoError(t, err) assert.NoError(t, err)