summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/linux/BUILD
diff options
context:
space:
mode:
authorCraig Chi <craig08@users.noreply.github.com>2020-09-09 10:44:09 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-11 13:35:25 -0700
commitb301fd500c923d01f3cce922eee883e94d4585d5 (patch)
treea56bedc4bc76faec3f3cfae5cbf3b1ea279d21be /test/fuse/linux/BUILD
parentcc9dff706be5518466ac677c19fc9436e059855d (diff)
Implement FUSE_SETATTR
This commit implements FUSE_SETATTR command. When a system call modifies the metadata of a regular file or a folder by chown(2), chmod(2), truncate(2), utime(2), or utimes(2), they should be translated to corresponding FUSE_SETATTR command and sent to the FUSE server. Fixes #3332
Diffstat (limited to 'test/fuse/linux/BUILD')
-rw-r--r--test/fuse/linux/BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/fuse/linux/BUILD b/test/fuse/linux/BUILD
index 7a3e52fad..7ecd6d8cb 100644
--- a/test/fuse/linux/BUILD
+++ b/test/fuse/linux/BUILD
@@ -101,6 +101,22 @@ cc_binary(
)
cc_binary(
+ name = "setstat_test",
+ testonly = 1,
+ srcs = ["setstat_test.cc"],
+ deps = [
+ gtest,
+ ":fuse_fd_util",
+ "//test/util:cleanup",
+ "//test/util:fs_util",
+ "//test/util:fuse_util",
+ "//test/util:temp_umask",
+ "//test/util:test_main",
+ "//test/util:test_util",
+ ],
+)
+
+cc_binary(
name = "rmdir_test",
testonly = 1,
srcs = ["rmdir_test.cc"],