Merge branch 'jk/prompt-fallback-to-tty' into maint
[gitweb.git] / t / t9143-git-svn-gc.sh
index 99f69c6a0b8c7d3eea5211db333d0be41f9f5fa4..4594e1ae2f36b5a5582cdb1f2421fdfbd2f8c996 100755 (executable)
@@ -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
 then
        test_expect_success 'git svn gc produces a valid gzip file' '
                 gunzip .git/svn/refs/remotes/git-svn/unhandled.log.gz
                '
-else
-       say "Perl Compress::Zlib unavailable, skipping gunzip test"
 fi
 
 test_expect_success 'git svn gc does not change unhandled.log files' '