[PATCH v2 1/1] xfs/539: Ignore remount failures on v5 xfs

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

 



Remount with noattr2 fails on a v5 filesystem, however the deprecation
warnings still get printed and that is exactly what the test
is checking. So ignore the mount failures in this case.

Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@xxxxxxxxx>
---
 tests/xfs/539 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/539 b/tests/xfs/539
index b9bb7cc1..5098be4a 100755
--- a/tests/xfs/539
+++ b/tests/xfs/539
@@ -61,7 +61,7 @@ for VAR in {attr2,noikeep}; do
 done
 for VAR in {noattr2,ikeep}; do
 	log_tag
-	_scratch_remount $VAR
+	_scratch_remount $VAR >> $seqres.full 2>&1
 	check_dmesg_for_since_tag "XFS: $VAR mount option is deprecated" || \
 		echo "Could not find deprecation warning for $VAR"
 done
-- 
2.34.1





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux