summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/BUILD
diff options
context:
space:
mode:
authorCraig Chi <craigchi@google.com>2020-08-17 15:33:19 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:19:30 -0700
commit15ff2893d9bf896cc33e880983cb800cd71c946b (patch)
treec6b3e3ffbab637749dcaaddaaa0aa734a3a0d6c6 /test/fuse/BUILD
parent326a1dbb73addeaf8e51af55b8a9de95638b4017 (diff)
Extend integration test to test sequence of FUSE operation
Original FUSE integration test has limited capabilities. To test more situations, the new integration test framework introduces a protocol to communicate between testing thread and the FUSE server. In summary, this change includes: 1. Remove CompareResult() and break SetExpected() into SetServerResponse() and GetServerActualRequest(). We no longer set up an expected request because we want to retrieve the actual FUSE request made to the FUSE server and check in the testing thread. 2. Declare a serial buffer data structure to save the received requests and expected responses sequentially. The data structure contains a cursor to indicate the progress of accessing. This change makes sequential SetServerResponse() and GetServerActualRequest() possible. 3. Replace 2 single directional pipes with 1 bi-directional socketpair. A protocol which starts with FuseTestCmd is used between the testing thread and the FUSE server to provide various functionality. Fixes #3405
Diffstat (limited to 'test/fuse/BUILD')
-rw-r--r--test/fuse/BUILD1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/fuse/BUILD b/test/fuse/BUILD
index 56157c96b..385920e17 100644
--- a/test/fuse/BUILD
+++ b/test/fuse/BUILD
@@ -5,5 +5,4 @@ package(licenses = ["notice"])
syscall_test(
fuse = "True",
test = "//test/fuse/linux:stat_test",
- vfs2 = "True",
)