]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/539: Ignore remount failures on v5 xfs
authorNirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Tue, 4 Mar 2025 13:48:16 +0000 (13:48 +0000)
committerZorro Lang <zlang@kernel.org>
Wed, 9 Apr 2025 03:04:23 +0000 (11:04 +0800)
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@gmail.com>
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/539

index b9bb7cc125fba1a91bfe0b5d0e352eedad27888c..5098be4a9351f07e7610ce8c721b5e07200552ae 100755 (executable)
@@ -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