Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2010-12-09 22:53:19 +0300
committerEric Wong <normalperson@yhbt.net>2010-12-09 23:18:03 +0300
commit7d79cb6ad5ef3061c8b5b25ff3f2d779b02ec472 (patch)
tree03a25d4292d3920084edd4fd2ab044d71fd36d5d /t/t9143-git-svn-gc.sh
parent6abd9332f97441a568421ba233ad8929b50a7efc (diff)
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 <tboegi@web.de> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t9143-git-svn-gc.sh')
-rwxr-xr-xt/t9143-git-svn-gc.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/t9143-git-svn-gc.sh b/t/t9143-git-svn-gc.sh
index 337ea59711..4594e1ae2f 100755
--- a/t/t9143-git-svn-gc.sh
+++ b/t/t9143-git-svn-gc.sh
@@ -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' '