diff mbox series

[38/40] generic/062: don't leave debug files in $here on failure

Message ID 20241127045403.3665299-39-david@fromorbit.com (mailing list archive)
State New
Headers show
Series fstests: concurrent test execution | expand

Commit Message

Dave Chinner Nov. 27, 2024, 4:52 a.m. UTC
From: Dave Chinner <dchinner@redhat.com>

Move them to $seqres.<debug-file> so they don't pollute the source
tree that fstests is running from.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
 tests/generic/062 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/generic/062 b/tests/generic/062
index f0904992d..896590403 100755
--- a/tests/generic/062
+++ b/tests/generic/062
@@ -196,7 +196,7 @@  echo "*** compare before and after backups"
 diff $tmp.backup1 $tmp.backup2
 if [ $? -ne 0 ]; then
 	echo "urk, failed - creating $seq.backup1 and $seq.backup2"
-	cp $tmp.backup1 $seq.backup1 && cp $tmp.backup2 $seq.backup2
+	cp $tmp.backup1 $seqres.backup1 && cp $tmp.backup2 $seqres.backup2
 	status=1
 	exit
 fi