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

Vasileios Almpanis via ltp <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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 <[email protected]>
---
 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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.