[LTP] [PATCH 1/1] commands/df01.sh: Drop redundant fuseblk pattern

Vasileios Almpanis vasileios.almpanis@virtuozzo.com
Wed Jul 8 16:42:10 CEST 2026


The regular expression already matches "fuseblk" through the unanchored
"fuse" alternative, making the explicit "fuseblk" alternative
unnecessary. Let's drop it.

Fixes: dbc966d4adb6 ("df01: detect "fuse" fstype in addition to "fuseblk"")
Signed-off-by: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
---
 testcases/commands/df/df01.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/commands/df/df01.sh b/testcases/commands/df/df01.sh
index 72b02ce34..6f0ad71ac 100755
--- a/testcases/commands/df/df01.sh
+++ b/testcases/commands/df/df01.sh
@@ -15,7 +15,7 @@ TST_NEEDS_ROOT=1
 
 setup()
 {
-	DF_FS_TYPE="$(grep -E "$TST_MNTPOINT ($TST_FS_TYPE|fuseblk|fuse)" /proc/mounts | awk 'NR==1{print $3}')"
+	DF_FS_TYPE="$(grep -E "$TST_MNTPOINT ($TST_FS_TYPE|fuse)" /proc/mounts | awk 'NR==1{print $3}')"
 }
 
 df_test()
-- 
2.43.0



More information about the ltp mailing list