[LTP] [PATCH] fs_bind: Fix incorrect mount option
Dylan Jhong
dylan@andestech.com
Mon Aug 8 13:04:16 CEST 2022
Fix the "--make-[r]share" option of mount, which should be
"--make-[r]shared".
Reference:
https://linux.die.net/man/8/mount
Signed-off-by: Dylan Jhong <dylan@andestech.com>
---
testcases/kernel/fs/fs_bind/rbind/fs_bind_rbind33.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/kernel/fs/fs_bind/rbind/fs_bind_rbind33.sh b/testcases/kernel/fs/fs_bind/rbind/fs_bind_rbind33.sh
index 170f7c42b..13704ce2e 100755
--- a/testcases/kernel/fs/fs_bind/rbind/fs_bind_rbind33.sh
+++ b/testcases/kernel/fs/fs_bind/rbind/fs_bind_rbind33.sh
@@ -17,11 +17,11 @@ test()
EXPECT_PASS mount --rbind dir1 dir2
EXPECT_PASS mount --make-rslave dir2
- EXPECT_PASS mount --make-share dir2
+ EXPECT_PASS mount --make-shared dir2
EXPECT_PASS mount --rbind dir2 dir3
EXPECT_PASS mount --make-rslave dir3
- EXPECT_PASS mount --make-share dir3
+ EXPECT_PASS mount --make-shared dir3
EXPECT_PASS mount --rbind dir3 dir4
EXPECT_PASS mount --make-rslave dir4
--
2.34.1
More information about the ltp
mailing list