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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Dave Chinner <dchinner@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 tests/generic/062 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.45.2





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux