summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/linux/BUILD
diff options
context:
space:
mode:
authorCraig Chi <craigchi@google.com>2020-09-03 14:06:59 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:19:30 -0700
commit18f1e1c91b05059c333197a2a6198716c12508e7 (patch)
tree793ba2059e2facf5f7d9408713103f34db948560 /test/fuse/linux/BUILD
parent7ed4e46a717ece014a962e4b9cacff1ff4c461f1 (diff)
Implement FUSE_CREATE
FUSE_CREATE is called when issuing creat(2) or open(2) with O_CREAT. It creates a new file on the FUSE filesystem. Fixes #3825
Diffstat (limited to 'test/fuse/linux/BUILD')
-rw-r--r--test/fuse/linux/BUILD17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/fuse/linux/BUILD b/test/fuse/linux/BUILD
index 23c9fba31..2bb956af9 100644
--- a/test/fuse/linux/BUILD
+++ b/test/fuse/linux/BUILD
@@ -152,4 +152,19 @@ cc_binary(
"//test/util:test_main",
"//test/util:test_util",
],
-) \ No newline at end of file
+)
+
+cc_binary(
+ name = "create_test",
+ testonly = 1,
+ srcs = ["create_test.cc"],
+ deps = [
+ gtest,
+ ":fuse_base",
+ "//test/util:fs_util",
+ "//test/util:fuse_util",
+ "//test/util:temp_umask",
+ "//test/util:test_main",
+ "//test/util:test_util",
+ ],
+)