mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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 <paullawrence@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
30151e7f47
commit
f880802e17
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user