[PATCH 04/23] generic/482: _run_fsstress needs the test filesystem

Darrick J. Wong
2025-01-16T23:26:13Z

The test filesystem is now a hard dependency of _run_fsstress because
the latter copies the fsstress binary to a different name on the test
filesystem:

generic/482 - output mismatch (see /var/tmp/fstests/generic/482.out.bad)
--- tests/generic/482.out 2024-02-28 16:20:24.262888854 -0800
+++ /var/tmp/fstests/generic/482.out.bad 2025-01-03 15:00:43.107625116 -0800
@@ -1,2 +1,3 @@
QA output created by 482
+cp: cannot create regular file '/mnt/482.fsstress': Read-only file system
Silence is golden
...
(Run 'diff -u /tmp/fstests/tests/generic/482.out /var/tmp/fstests/generic/482.out.bad' to see the entire diff)

Cc: <fstests@vger.kernel.org> # v2024.12.08
Fixes: 8973af00ec212f ("fstests: cleanup fsstress process management")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
tests/generic/482 | 1 -
1 file changed, 1 deletion(-)

diff --git a/tests/generic/482 b/tests/generic/482
index 8c114ee03058c6..0efc026a160040 100755
--- a/tests/generic/482
+++ b/tests/generic/482
@@ -68,7 +68,6 @@ lowspace=$((1024*1024 / 512)) # 1m low space threshold

# Use a thin device to provide deterministic discard behavior. Discards are used
# by the log replay tool for fast zeroing to prevent out-of-order replay issues.
-_test_unmount
_dmthin_init $devsize $devsize $csize $lowspace
_log_writes_init $DMTHIN_VOL_DEV
_log_writes_mkfs >> $seqres.full 2>&1