[LTP] [COMMITTED][PATCH 1/1] fs_bind_move01.sh: Fix function name (typo)
Petr Vorel
pvorel@suse.cz
Mon May 9 13:38:01 CEST 2022
Fixes: d8ef18e24 ("fs_bind: Convert to ltp tests")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/fs/fs_bind/move/fs_bind_move01.sh | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/testcases/kernel/fs/fs_bind/move/fs_bind_move01.sh b/testcases/kernel/fs/fs_bind/move/fs_bind_move01.sh
index ab897fd16..0e3e6080f 100755
--- a/testcases/kernel/fs/fs_bind/move/fs_bind_move01.sh
+++ b/testcases/kernel/fs/fs_bind/move/fs_bind_move01.sh
@@ -6,7 +6,6 @@
FS_BIND_TESTFUNC=test
-
test()
{
tst_res TINFO "move: shared child to shared parent"
@@ -23,12 +22,12 @@ test()
EXPECT_PASS mount --move dir parent2/child2
EXPECT_PASS mount --bind "$FS_BIND_DISK1" parent2/child2/grandchild
- fs_bind_fs_bind_check parent2/child2/grandchild share1/grandchild share2/child2/grandchild
- fs_bind_fs_bind_check -n dir/grandchild parent2/child2/grandchild
+ fs_bind_check parent2/child2/grandchild share1/grandchild share2/child2/grandchild
+ fs_bind_check -n dir/grandchild parent2/child2/grandchild
EXPECT_PASS mount --bind "$FS_BIND_DISK2" share1/grandchild/a
- fs_bind_fs_bind_check parent2/child2/grandchild/a share1/grandchild/a share2/child2/grandchild/a
+ fs_bind_check parent2/child2/grandchild/a share1/grandchild/a share2/child2/grandchild/a
EXPECT_PASS umount share1/grandchild/a
EXPECT_PASS umount share1/grandchild/
--
2.36.0
More information about the ltp
mailing list