diff mbox series

[1/4] common: _notrun if _scratch_mkfs_sized failed

Message ID 20240807143519.2900711-2-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/4] common: _notrun if _scratch_mkfs_sized failed | expand

Commit Message

Christoph Hellwig Aug. 7, 2024, 2:35 p.m. UTC
If we fail to create a file system of a specific size that means it can't
work with some of the options in $MKFS_OPTIONS like the log size.  Don't
fail the test case for that, but instead _norun it and display the options
that caused it to fail.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Darrick J. Wong <djwong@kernel.org>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/common/rc b/common/rc
index afc33bbc2..93d366338 100644
--- a/common/rc
+++ b/common/rc
@@ -1168,7 +1168,7 @@  _try_scratch_mkfs_sized()
 
 _scratch_mkfs_sized()
 {
-	_try_scratch_mkfs_sized $* || _fail "_scratch_mkfs_sized failed with ($*)"
+	_try_scratch_mkfs_sized $* || _notrun "_scratch_mkfs_sized failed with ($*)"
 }
 
 # Emulate an N-data-disk stripe w/ various stripe units