tests: add skipped O_TMPFILE test
Looks like the FUSE protocol does support O_TMPFILE yet. https://github.com/rfjakob/gocryptfs/issues/641
This commit is contained in:
parent
b859bc96ef
commit
696f11499b
@ -107,3 +107,13 @@ func TestRenameExchange(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Looks like the FUSE protocol does support O_TMPFILE yet
|
||||||
|
func TestOTmpfile(t *testing.T) {
|
||||||
|
p := test_helpers.DefaultPlainDir + "/" + t.Name()
|
||||||
|
fd, err := unix.Openat(-1, p, unix.O_TMPFILE, 0600)
|
||||||
|
if err != nil {
|
||||||
|
t.Skip(err)
|
||||||
|
}
|
||||||
|
unix.Close(fd)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user