[PATCH 33/40] vfstests: some tests require the testdir to be shared

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Dave Chinner <dchinner@xxxxxxxxxx>

This ensures that these tests will run successfully when the
parallel check infrastructure makes all the scratch and test
mounts private.

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
 tests/generic/589 | 2 ++
 tests/generic/632 | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/generic/589 b/tests/generic/589
index b5860070b..0384083bb 100755
--- a/tests/generic/589
+++ b/tests/generic/589
@@ -164,7 +164,9 @@ move_test()
 	move_run unbindable private
 }
 
+_mount --make-shared $TEST_DIR
 move_test
+_mount --make-private $TEST_DIR
 
 # success, all done
 status=0
diff --git a/tests/generic/632 b/tests/generic/632
index c7a1f1fad..c4d3555bc 100755
--- a/tests/generic/632
+++ b/tests/generic/632
@@ -22,8 +22,10 @@ _begin_fstest auto quick mount
 _require_test
 _require_test_program "detached_mounts_propagation"
 
+_mount --make-shared $TEST_DIR
 $here/src/detached_mounts_propagation $TEST_DIR >> $seqres.full
 status=$?
+_mount --make-private $TEST_DIR
 
 echo silence is golden
 exit
-- 
2.45.2





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux