mirror of https://github.com/ceph/go-ceph
cephfs: add a missing userMount() to tests
Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
parent
97bccd7a90
commit
527553718c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue