From: Mark Harmstone Date: Thu, 10 Oct 2024 15:36:25 +0000 (+0100) Subject: btrfs/318: add _require_loop X-Git-Tag: v2024.10.14~7 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f4b00fafa4ef091c9d73818f7843e0881ca773ca;p=xfstests-dev.git btrfs/318: add _require_loop btrfs/318 uses loopback devices, but was missing a call to _require_loop to print the correct message if CONFIG_LOOP is not set. Signed-off-by: Mark Harmstone Reviewed-by: Filipe Manana Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/tests/btrfs/318 b/tests/btrfs/318 index 79977276..df5a4a07 100755 --- a/tests/btrfs/318 +++ b/tests/btrfs/318 @@ -18,6 +18,7 @@ _fixed_by_kernel_commit 9f7eb8405dcb \ _require_test _require_command "$PARTED_PROG" parted _require_batched_discard "$TEST_DIR" +_require_loop _cleanup() { cd /