From: Dave Chinner Date: Wed, 27 Nov 2024 00:06:31 +0000 (+1100) Subject: generic/062: don't leave debug files in $here on failure X-Git-Tag: v2024.12.08~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b95d488dfe4ba0e07de4232bc7df7dfb43dcf419;p=xfstests-dev.git generic/062: don't leave debug files in $here on failure Move them to $seqres. so they don't pollute the source tree that fstests is running from. Signed-off-by: Dave Chinner Reviewed-by: Zorro lang Signed-off-by: Zorro Lang --- diff --git a/tests/generic/062 b/tests/generic/062 index f0904992..89659040 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