aboutsummaryrefslogtreecommitdiff
path: root/t/gitweb-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-17 15:01:37 -0800
committerJunio C Hamano <gitster@pobox.com>2010-11-17 15:01:37 -0800
commit016c4b8919a0a58a430f3483aeac35de9dfdc579 (patch)
tree4e6dae55df663f36b51dbc82ff888b052672c5e6 /t/gitweb-lib.sh
parent53b17087969cd2b81458c74692532b3764fe16c4 (diff)
parent598df7bcb775a247cc3f20c5a8b1b36955b16462 (diff)
downloadgit-016c4b8919a0a58a430f3483aeac35de9dfdc579.tar.gz
git-016c4b8919a0a58a430f3483aeac35de9dfdc579.tar.xz
Merge branch 'bg/maint-gitweb-test-lib'
* bg/maint-gitweb-test-lib: t/gitweb-lib: Don't pass constant to decode_utf8 Conflicts: t/gitweb-lib.sh
Diffstat (limited to 't/gitweb-lib.sh')
-rw-r--r--t/gitweb-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh
index 8b5b987f4..b9bb95fea 100644
--- a/t/gitweb-lib.sh
+++ b/t/gitweb-lib.sh
@@ -97,7 +97,7 @@ if ! test_have_prereq PERL; then
test_done
fi
-perl -MEncode -e 'decode_utf8("", Encode::FB_CROAK)' >/dev/null 2>&1 || {
+perl -MEncode -e '$e="";decode_utf8($e, Encode::FB_CROAK)' >/dev/null 2>&1 || {
skip_all='skipping gitweb tests, perl version is too old'
test_done
}