From: Christoph Hellwig Date: Thu, 18 Dec 2025 07:30:00 +0000 (+0100) Subject: ext4/006: call e2fsck directly X-Git-Tag: v2026.01.05~24 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5dbc7499a3b2e4a99c02c1b45c3a2d33d443a8b6;p=xfstests-dev.git ext4/006: call e2fsck directly _check_scratch_fs takes an optional device name, but no optional arguments. Call e2fsck directly for this extN-specific test instead. Signed-off-by: Christoph Hellwig Reviewed-by: Anand Jain Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/tests/ext4/006 b/tests/ext4/006 index 2ece22a4..ab78e79d 100755 --- a/tests/ext4/006 +++ b/tests/ext4/006 @@ -44,7 +44,7 @@ repair_scratch() { res=$? if [ "${res}" -eq 0 ]; then echo "++ allegedly fixed, reverify" >> "${FSCK_LOG}" - _check_scratch_fs -n >> "${FSCK_LOG}" 2>&1 + e2fsck -n "${SCRATCH_DEV}" >> "${FSCK_LOG}" 2>&1 res=$? fi echo "++ fsck returns ${res}" >> "${FSCK_LOG}"