summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/linux/BUILD
diff options
context:
space:
mode:
authorCraig Chi <craig08@users.noreply.github.com>2020-09-03 14:06:59 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-11 13:35:25 -0700
commitdeb8e24614036d61cf98a3eb0ca1e131834c05bd (patch)
tree609a177d22576e3e7eaed608b9b626d4670c3871 /test/fuse/linux/BUILD
parent2541b190061c44fdd7fe825418c70944e70ff87a (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",
+ ],
+)