Deprecate the original FUSE testing framework.

The tests written for this testing framework are fragile and
difficult to maintain. Each time we add a new a new feature,
like permission checking with FUSE_ACCESS, we have to upgrade
each test with corresponding request and response RPCS at the
correct places.

The new FUSE testing frameworks works by adding usefusefs=True. No
extra work is needed.

PiperOrigin-RevId: 504689971
This commit is contained in:
Lucas Manning
2023-01-25 16:23:24 -08:00
committed by gVisor bot
parent cef82030f6
commit 06670e5a9c
2 changed files with 66 additions and 0 deletions
+64
View File
@@ -4,80 +4,144 @@ package(licenses = ["notice"])
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:stat_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:statfs_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:open_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:release_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:mknod_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:symlink_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:readlink_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:mkdir_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:read_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:write_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:rmdir_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:readdir_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:create_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:unlink_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:setstat_test",
)
syscall_test(
allow_native = False,
tags = [
"noguitar",
"notap",
],
test = "//test/fuse/linux:mount_test",
)
+2
View File
@@ -1,5 +1,7 @@
# gVisor FUSE Test Suite
## This test framework is deprecated. Please use the `usefusefs=True` in syscall tests to test FUSE going forward.
This is an integration test suite for fuse(4) filesystem. It runs under gVisor
sandbox container with FUSE function enabled.