diff options
author | Dean Deng <deandeng@google.com> | 2019-12-11 16:39:58 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-11 16:41:17 -0800 |
commit | 1601e78a52e9181d1ea8a3ff36399575e95ad0bf (patch) | |
tree | e030b761a1f89577811db46a82aaaac7d3565560 /test/syscalls/linux/BUILD | |
parent | e2e3b38460096a00cabe9041177e729c54e07b3b (diff) |
Add syscall tests for getxattr and setxattr.
Support for getxattr and setxattr are in subsequent commits.
PiperOrigin-RevId: 285088817
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r-- | test/syscalls/linux/BUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD index 6ea922fb4..0bbaaf28a 100644 --- a/test/syscalls/linux/BUILD +++ b/test/syscalls/linux/BUILD @@ -3722,3 +3722,24 @@ cc_binary( "@com_google_googletest//:gtest", ], ) + +cc_binary( + name = "xattr_test", + testonly = 1, + srcs = [ + "file_base.h", + "xattr.cc", + ], + linkstatic = 1, + deps = [ + "//test/util:capability_util", + "//test/util:file_descriptor", + "//test/util:fs_util", + "//test/util:posix_error", + "//test/util:temp_path", + "//test/util:test_main", + "//test/util:test_util", + "@com_google_absl//absl/strings", + "@com_google_googletest//:gtest", + ], +) |