aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/defaults/overlayfs_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/defaults/overlayfs_test.go b/tests/defaults/overlayfs_test.go
index 1a3298d..2bc4387 100644
--- a/tests/defaults/overlayfs_test.go
+++ b/tests/defaults/overlayfs_test.go
@@ -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)
+}