All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic/795: add missing _require_scratch check
@ 2026-09-02  5:01 Prabhakar Pujeri
  2026-09-02 15:13 ` Darrick J. Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Prabhakar Pujeri @ 2026-09-02  5:01 UTC (permalink / raw)
  To: fstests; +Cc: Prabhakar Pujeri, Zorro Lang

The test runs _scratch_mkfs and _scratch_mount without first requiring a scratch device, so it fails messily instead of skipping when no scratch device is configured.

Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
---
 tests/generic/795 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/generic/795 b/tests/generic/795
index fa5474c5..4c0e7bdb 100755
--- a/tests/generic/795
+++ b/tests/generic/795
@@ -27,6 +27,8 @@ _cleanup()
 
 . ./common/filter
 
+_require_scratch
+
 fsv_file_size=10000000
 nproc_enabler=$((4 * LOAD_FACTOR))
 nproc_reader=$((6 * LOAD_FACTOR))
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-02 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02  5:01 [PATCH] generic/795: add missing _require_scratch check Prabhakar Pujeri
2026-09-02 15:13 ` Darrick J. Wong
2026-09-02 16:59   ` Zorro Lang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.