Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

t9143: do not fail when unhandled.log.gz is not created

Do not depend on internal implementation details of svn,
which right now uses perl to create a .gz file.
So this test case will even work in the future,
when svn changes its implementation.

Signed-off-by: Torsten Bögershausen <>
Acked-by: Eric Wong <>
  • Loading branch information...
commit 7d79cb6ad5ef3061c8b5b25ff3f2d779b02ec472 1 parent 6abd933
@tboegi tboegi authored Eric Wong committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 t/
4 t/
@@ -37,13 +37,11 @@ test_expect_success 'git svn gc runs' 'git svn gc'
test_expect_success 'git svn index removed' '! test -f .git/svn/refs/remotes/git-svn/index'
-if perl -MCompress::Zlib -e 0 2>/dev/null
+if test -r .git/svn/refs/remotes/git-svn/unhandled.log.gz
test_expect_success 'git svn gc produces a valid gzip file' '
gunzip .git/svn/refs/remotes/git-svn/unhandled.log.gz
- say "# Perl Compress::Zlib unavailable, skipping gunzip test"
test_expect_success 'git svn gc does not change unhandled.log files' '
Please sign in to comment.
Something went wrong with that request. Please try again.