X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ftest-lib.sh;h=a8f239df8fc45575ca543208c2bcad771d3f4d7e;hb=29504118f8528f658fd0bfc02d8d78d4c01dc2cc;hp=1523d2ebbf1f355fe60ad0d5ef948d24cebc85ad;hpb=8eb14dc1882ade6f881ae93dfd7ecaa0dc0f0fdc;p=git.git diff --git a/t/test-lib.sh b/t/test-lib.sh index 1523d2eb..a8f239df 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -5,9 +5,10 @@ # For repeatability, reset the environment to known value. LANG=C +LC_ALL=C PAGER=cat TZ=UTC -export LANG PAGER TZ +export LANG LC_ALL PAGER TZ unset AUTHOR_DATE unset AUTHOR_EMAIL unset AUTHOR_NAME @@ -163,4 +164,8 @@ test=trash rm -fr "$test" mkdir "$test" cd "$test" -git-init-db 2>/dev/null || error "cannot run git-init-db" +git-init-db --template=../../templates/blt/ 2>/dev/null || +error "cannot run git-init-db" + +mv .git/hooks .git/hooks-disabled +