diff mbox series

btrfs-progs: notrun kernel testing in test-misc/034-metadata-uuid

Message ID 887aa1351ab20205488614336fecdb02b71edf34.1692248086.git.anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: notrun kernel testing in test-misc/034-metadata-uuid | expand

Commit Message

Anand Jain Aug. 17, 2023, 2:49 p.m. UTC
This patch [1] removes kernel support for repairing failures of the
'btrfstune -m|M' command. Instead, the btrfstune command has been enhanced
to help repairing failed FSID changes in the userspace.

  [1]
    [PATCH] btrfs: reject device with CHANGING_FSID_V2

The patch [2] has already updated `test-misc/034-metadata-uuid` to
accommodate testing of btrfs-progs.

  [2]
    [PATCH 16/16] btrfs-progs: test btrfstune -m|M ability to fix
 previous failures

Since after patch [1] btrfs kernel will no longer supports repair of
`btrfstune -m|M` failures, in the kernel, comment out the corresponding
test.

I'd rather have the code comments placed under notrun, as this would allow
the test case to still run with older versions of btrfs-progs.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tests/misc-tests/034-metadata-uuid/test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/misc-tests/034-metadata-uuid/test.sh b/tests/misc-tests/034-metadata-uuid/test.sh
index 0b06f1266f57..d0018ac8b01c 100755
--- a/tests/misc-tests/034-metadata-uuid/test.sh
+++ b/tests/misc-tests/034-metadata-uuid/test.sh
@@ -257,7 +257,7 @@  failure_recovery_kernel() {
 
 failure_recovery() {
 	failure_recovery_progs $@
-	failure_recovery_kernel $@
+#	failure_recovery_kernel $@
 }
 
 reload_btrfs() {
@@ -283,7 +283,7 @@  check_kernel_reloadable() {
 	run_mayfail $SUDO_HELPER modprobe btrfs || _not_run "loading btrfs module failed"
 }
 
-check_kernel_reloadable
+#check_kernel_reloadable
 
 test_progs