* [PATCH] fstests: add some missing _require_loop's
@ 2022-04-28 15:05 Josef Bacik
2022-04-28 15:13 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: Josef Bacik @ 2022-04-28 15:05 UTC (permalink / raw)
To: fstests, linux-btrfs
Got a new box running overnight fstests and noticed a couple of failures
because I forgot to enable loop device support. Fix these two tests to
have _require_loop so they don't fail if there's no loop device support.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
---
tests/btrfs/012 | 1 +
tests/generic/648 | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/btrfs/012 b/tests/btrfs/012
index 29552b14..60461a34 100755
--- a/tests/btrfs/012
+++ b/tests/btrfs/012
@@ -30,6 +30,7 @@ _require_command "$MKFS_EXT4_PROG" mkfs.ext4
_require_command "$E2FSCK_PROG" e2fsck
# ext4 does not support zoned block device
_require_non_zoned_device "${SCRATCH_DEV}"
+_require_loop
BLOCK_SIZE=`_get_block_size $TEST_DIR`
diff --git a/tests/generic/648 b/tests/generic/648
index e5c743c5..d7bf5697 100755
--- a/tests/generic/648
+++ b/tests/generic/648
@@ -39,6 +39,7 @@ _require_scratch_reflink
_require_cp_reflink
_require_dm_target error
_require_command "$KILLALL_PROG" "killall"
+_require_loop
echo "Silence is golden."
--
2.26.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fstests: add some missing _require_loop's
2022-04-28 15:05 [PATCH] fstests: add some missing _require_loop's Josef Bacik
@ 2022-04-28 15:13 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2022-04-28 15:13 UTC (permalink / raw)
To: Josef Bacik; +Cc: fstests, linux-btrfs
On Thu, Apr 28, 2022 at 11:05:00AM -0400, Josef Bacik wrote:
> Got a new box running overnight fstests and noticed a couple of failures
> because I forgot to enable loop device support. Fix these two tests to
> have _require_loop so they don't fail if there's no loop device support.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Yep, these both use loop mounts.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
--D
> ---
> tests/btrfs/012 | 1 +
> tests/generic/648 | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/tests/btrfs/012 b/tests/btrfs/012
> index 29552b14..60461a34 100755
> --- a/tests/btrfs/012
> +++ b/tests/btrfs/012
> @@ -30,6 +30,7 @@ _require_command "$MKFS_EXT4_PROG" mkfs.ext4
> _require_command "$E2FSCK_PROG" e2fsck
> # ext4 does not support zoned block device
> _require_non_zoned_device "${SCRATCH_DEV}"
> +_require_loop
>
> BLOCK_SIZE=`_get_block_size $TEST_DIR`
>
> diff --git a/tests/generic/648 b/tests/generic/648
> index e5c743c5..d7bf5697 100755
> --- a/tests/generic/648
> +++ b/tests/generic/648
> @@ -39,6 +39,7 @@ _require_scratch_reflink
> _require_cp_reflink
> _require_dm_target error
> _require_command "$KILLALL_PROG" "killall"
> +_require_loop
>
> echo "Silence is golden."
>
> --
> 2.26.3
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-28 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-28 15:05 [PATCH] fstests: add some missing _require_loop's Josef Bacik
2022-04-28 15:13 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox