summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/linux/BUILD
diff options
context:
space:
mode:
authorCraig Chi <craigchi@google.com>2020-09-09 10:44:09 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:19:30 -0700
commitbf8efe8cdf4b6af50ec89cda37342cf51c8b50b4 (patch)
tree546f36d9bd166dd00507154fe1aa00304a9cd020 /test/fuse/linux/BUILD
parent4181e8c97482a3c787c2b508e6d75a21323ba515 (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"],