btrfs/318: add _require_loop
PATCH 1/1 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 <[email protected]>
--- tests/btrfs/318 | 1 + 1 file changed, 1 insertion(+)
tests/btrfs/318 +1 -0
@@ -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 /
Signature · 1 line
2.44.2
Quoted 5 lines · Mark Harmstone
btrfs/318 uses loopback devices, but was missing a call to
_require_loopto print the correct message ifCONFIG_LOOPis not set.Signed-off-by Mark Harmstone <[email protected]>
Reviewed-by Filipe Manana <[email protected]>
Looks good, thanks.
Quoted 20 lines
--- tests/btrfs/318 | 1 + 1 file changed, 1 insertion(+)tests/btrfs/318 +1
-1@@ -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 / --2.44.2
Quoted 13 lines · Mark Harmstone
btrfs/318 uses loopback devices, but was missing a call to
_require_loopto print the correct message ifCONFIG_LOOPis not set.Signed-off-by Mark Harmstone <[email protected]>--- tests/btrfs/318 | 1 + 1 file changed, 1 insertion(+)tests/btrfs/318 +0
-0
tests/btrfs/318 _fixed_by_kernel_commit 9f7eb8405dcb \ · line 21
Quoted 4 lines
tests/btrfs/318 +1
-0@@ -18,6 +18,7 @@ _fixed_by_kernel_commit 9f7eb8405dcb \ _require_test _require_command "$PARTED_PROG" parted _require_batched_discard "$TEST_DIR" +_require_loop
Sure, this case need loop device.
Reviewed-by Zorro Lang <[email protected]>
Quoted 7 lines
tests/btrfs/318 +0
-0_cleanup() { cd /Signature · 1 line
2.44.2