summaryrefslogtreecommitdiff
path: root/t/gitweb-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-12-02 11:26:49 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-02 11:26:49 -0800
commit1f238da57334ca0155ae7560b173eefc8c4c157a (patch)
tree18da146a678eeae899ea1ae16a25e7d7751c7baf /t/gitweb-lib.sh
parentMerge branch 'tr/maint-merge-file-subdir' into maint (diff)
parentt/gitweb-lib: Don't pass constant to decode_utf8 (diff)
downloadtgif-1f238da57334ca0155ae7560b173eefc8c4c157a.tar.xz
Merge branch 'bg/maint-gitweb-test-lib' into maint
* bg/maint-gitweb-test-lib: t/gitweb-lib: Don't pass constant to decode_utf8
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 81ef2a0969..1b9523d02f 100644
--- a/t/gitweb-lib.sh
+++ b/t/gitweb-lib.sh
@@ -80,7 +80,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
}