From: Darrick J. Wong Date: Tue, 15 Sep 2020 01:44:56 +0000 (-0700) Subject: xfs/424: disable external devices X-Git-Tag: v2022.05.01~677 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=890a5ae45e7532181ffb70b0f0b1fc9ae29fe43b xfs/424: disable external devices This test uses an open-coded call to mkfs, so we need to disable the external devices so that _scratch_xfs_db doesn't get confused. We also disable the post-check fsck because it's run by the parent ./check program, which won't know that we didn't use the external devices. Signed-off-by: Darrick J. Wong Reviewed-by: Zorro Lang Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/424 b/tests/xfs/424 index 66d79458..4907cf0f 100755 --- a/tests/xfs/424 +++ b/tests/xfs/424 @@ -47,7 +47,13 @@ rm -f $seqres.full # Modify as appropriate _supported_os Linux _supported_fs xfs -_require_scratch + +# Since we have an open-coded mkfs call, disable the external devices and +# don't let the post-check fsck actually run since it'll trip over us not +# using the external devices. +_require_scratch_nocheck +export SCRATCH_LOGDEV= +export SCRATCH_RTDEV= echo "Silence is golden."