public inbox for
 help / color / mirror / Atom feed
From: Mark Wielaard <>
Cc: Mark Wielaard <>
Subject: [bzip2-tests] Remove testfilecopy after second decompression attempt.
Date: Tue, 01 Jan 2019 00:00:00 -0000	[thread overview]
Message-ID: <> (raw)

I committed this small tweak that makes sure the test dir is fully
cleaned up.

We run tests twice, once in default mode and once in small mode.
For the recompression/redecompression attempt we create a copy of
the original input file. Which we remove after the first attempt
in default mode. It should also be removed after the second attempt
in small mode. Otherwise we keep a possibly very large file around.
--- | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ b/
index 8fccf2c..c07deea 100755
--- a/
+++ b/
@@ -137,6 +137,8 @@ while IFS= read -r -d '' bzfile; do
            nogood=$[${nogood}+1]; continue; }
+  rm "${copy}"
 done < <(find ${TESTS_DIR} -type f -name \*\.bz2 -print0)

                 reply	other threads:[~2019-07-03 18:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).