Skip to contentSkip to conversation

read_all: Add /dev/fuse to default blacklist

PATCH Applied Fushuai Wang 4 participants 6 messages Apr 30 – May 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 read_all: Add /dev/fuse to default blacklist

From: Fushuai Wang <[email protected]>

Reading /dev/fuse without a corresponding FUSE daemon process will make the test hang. So add "/dev/fuse" to blacklist.

---
 testcases/kernel/fs/read_all/read_all.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/fs/read_all/read_all.c +1 -0
index e18945a34..5720ffb99 100644
@@ -99,6 +99,7 @@ static char *blacklist[] = {
 	"/sys/devices/platform/*/eeprom",
 	"/sys/devices/platform/*/nvmem",
 	"/sys/*/cpu??*(?)/*",	/* cpu* entries with 2 or more digits */
+	"/dev/fuse",
 	NULL
 };
 
Signature · 5 lines
2.36.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by LTP AI Reviewer on v1 1/1
#1 lore raw

Hi Fushuai,

Quoted 6 lines · Fushuai Wang

read_all: Add /dev/fuse to default blacklist

Reading /dev/fuse without a corresponding FUSE daemon process will make the test hang. So add "/dev/fuse" to blacklist.

+ "/dev/fuse",

---
Note:

Our agent completed the review of the patch.

The agent can sometimes produce false positives although often its findings are genuine. If you find issues with the review, please comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Acked-by Jan Stancek on v1 1/1
#2 lore raw
In reply to Fushuai Wang
Quoted 7 lines · Fushuai Wang

From: Fushuai Wang <[email protected]>

Reading /dev/fuse without a corresponding FUSE daemon process will make the test hang. So add "/dev/fuse" to blacklist.

Quoted 19 lines
---
 testcases/kernel/fs/read_all/read_all.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/fs/read_all/read_all.c +1 -1
index e18945a34..5720ffb99 100644
@@ -99,6 +99,7 @@ static char *blacklist[] = {
        "/sys/devices/platform/*/eeprom",
        "/sys/devices/platform/*/nvmem",
        "/sys/*/cpu??*(?)/*",   /* cpu* entries with 2 or more digits */
+       "/dev/fuse",
        NULL
 };
 
--

2.36.1

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp