aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-04-28 11:05:00 -0400
committerZorro Lang <zlang@kernel.org>2022-04-29 16:09:12 +0800
commitbb04d577435d04ce3aa160f0563d1d35d4860d54 (patch)
tree7fa8b4575e7193b68173d61fc3edf3dbaf63e81e
parent298f60c81a93fabde5f87f6a99fea158f9c4ff24 (diff)
downloadxfstests-dev-bb04d577435d04ce3aa160f0563d1d35d4860d54.tar.gz
fstests: add some missing _require_loop'sHEADmaster
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> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/btrfs/0121
-rwxr-xr-xtests/generic/6481
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/btrfs/012 b/tests/btrfs/012
index 29552b14f1..60461a3425 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 e5c743c53c..d7bf5697e1 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."