From f880802e179d1fa2248334742e0cb0f65485f989 Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Thu, 27 Apr 2023 08:31:20 -0700 Subject: [PATCH] ANDROID: fuse-bpf: Make fuse_test compile and pass Remove ARRAY_SIZE definition Uncomment FUSE_CANONICAL_PATH responses Bug: 279912034 Test: fuse_test compiles and passes Change-Id: I511bc0466a552261428347b1cf9f23f1088213e0 Signed-off-by: Paul Lawrence --- tools/testing/selftests/filesystems/fuse/fuse_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/filesystems/fuse/fuse_test.c b/tools/testing/selftests/filesystems/fuse/fuse_test.c index c23f75be15d5..7bc8d2abfd4f 100644 --- a/tools/testing/selftests/filesystems/fuse/fuse_test.c +++ b/tools/testing/selftests/filesystems/fuse/fuse_test.c @@ -175,8 +175,8 @@ static int basic_test(const char *mount_dir) .open_flags = open_in->flags, })); - //TESTFUSEINNULL(FUSE_CANONICAL_PATH); - //TESTFUSEOUTREAD("ignored", 7); + TESTFUSEINNULL(FUSE_CANONICAL_PATH); + TESTFUSEOUTREAD("ignored", 7); TESTFUSEIN(FUSE_READ, read_in); TESTFUSEOUTREAD(test_data, strlen(test_data)); @@ -631,8 +631,8 @@ static int bpf_test_creat(const char *mount_dir) .open_flags = create_in->flags, })); - //TESTFUSEINNULL(FUSE_CANONICAL_PATH); - //TESTFUSEOUTREAD("ignored", 7); + TESTFUSEINNULL(FUSE_CANONICAL_PATH); + TESTFUSEOUTREAD("ignored", 7); TESTFUSEIN(FUSE_FLUSH, flush_in); TESTFUSEOUTEMPTY();