]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fstests: don't test -o norecovery in btrfs/220
authorJosef Bacik <josef@toxicpanda.com>
Wed, 22 Nov 2023 17:15:58 +0000 (12:15 -0500)
committerZorro Lang <zlang@kernel.org>
Sat, 9 Dec 2023 04:51:34 +0000 (12:51 +0800)
This is a deprecated option and it's going away with the new mount api
patches, so remove this from the test.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/220

index cc092c143274d4faa5daef53f633ecb187f962a3..a7ec6558b4ca98c27c0f39df3337c80745c1ba0e 100755 (executable)
@@ -212,20 +212,14 @@ test_non_revertible_options()
        # nologreplay should be used only with readonly
        test_should_fail "nologreplay"
 
-       # norecovery should be used only with readonly.
-       # This options is an alias to nologreplay
-       test_should_fail "norecovery"
-
        if [ "$enable_rescue_nologreplay" = true ]; then
                #rescue=nologreplay should be used only with readonly
                test_should_fail "rescue=nologreplay"
 
                test_mount_opt "nologreplay,ro" "ro,rescue=nologreplay"
-               test_mount_opt "norecovery,ro" "ro,rescue=nologreplay"
                test_mount_opt "rescue=nologreplay,ro" "ro,rescue=nologreplay"
        else
                test_mount_opt "nologreplay,ro" "ro,nologreplay"
-               test_mount_opt "norecovery,ro" "ro,nologreplay"
        fi
 
        test_mount_opt "rescan_uuid_tree" "rescan_uuid_tree"