diff mbox series

[2/2] btrfs-progs: tests: mkfs/021: update to use -O instead of deprecated -R

Message ID 20230501232938.10544-2-wqu@suse.com (mailing list archive)
State New, archived
Headers show
Series [1/2] btrfs-progs: doc: fix the indent on the ORPHAN_OBJECTID | expand

Commit Message

Qu Wenruo May 1, 2023, 11:29 p.m. UTC
-R option is deprecated since commit 4dbe66ca2f21 ("btrfs-progs: mkfs: make
-R|--runtime-features option deprecated"), migrate the test case to
follow the change.

Signed-off-by: Qu Wenruo <wqu@suse.com>
---
 tests/mkfs-tests/021-rfeatures-quota-rootdir/test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/mkfs-tests/021-rfeatures-quota-rootdir/test.sh b/tests/mkfs-tests/021-rfeatures-quota-rootdir/test.sh
index ec45c1d9..b03e3f61 100755
--- a/tests/mkfs-tests/021-rfeatures-quota-rootdir/test.sh
+++ b/tests/mkfs-tests/021-rfeatures-quota-rootdir/test.sh
@@ -1,5 +1,5 @@ 
 #!/bin/bash
-# Check if mkfs runtime feature quota can handle --rootdir
+# Check if mkfs feature quota can handle --rootdir
 
 source "$TEST_TOP/common" || exit
 
@@ -38,7 +38,7 @@  run_check dd if=/dev/zero bs=2K count=1 of="$tmp/2K"
 run_check dd if=/dev/zero bs=4K count=1 of="$tmp/4K"
 run_check dd if=/dev/zero bs=8K count=1 of="$tmp/8K"
 
-run_check $SUDO_HELPER "$TOP/mkfs.btrfs" -f --rootdir "$tmp" -R quota "$TEST_DEV"
+run_check $SUDO_HELPER "$TOP/mkfs.btrfs" -f --rootdir "$tmp" -O quota "$TEST_DEV"
 
 rm -rf -- "$tmp"