chiark / gitweb /
Update copyright years
[dgit.git] / tests / lib-core
index c3a04cbaed1b215cfd62c33b7455976f7a2c4a73..724c8acafbf3c21600f906c30b54fc58b5cc7a35 100644 (file)
@@ -13,8 +13,10 @@ t-set-intree () {
        : ${DGIT_SSH_DISPATCH_TEST:=$DGIT_TEST_INTREE/infra/dgit-ssh-dispatch}
        : ${DGIT_INFRA_PFX:=$DGIT_TEST_INTREE${DGIT_TEST_INTREE:+/infra/}}
        : ${DGIT_GITDEBREBASE_TEST:=$DGIT_TEST_INTREE/git-debrebase}
+       : ${DGIT_MANPAGES_SOURCE_DIR:=$DGIT_TEST_INTREE}
        export DGIT_TEST DGIT_BADCOMMIT_FIXUP
        export DGIT_REPOS_SERVER_TEST DGIT_SSH_DISPATCH_TEST
+       export DGIT_MANPAGES_SOURCE_DIR
        export PERLLIB="$DGIT_TEST_INTREE${PERLLIB:+:}${PERLLIB}"
 }
 
@@ -38,3 +40,7 @@ t-filter-out-git-hyphen-dir () {
        path="${path%:}"
        PATH="$path"
 }
+
+t-sort () {
+       LC_COLLATE=C sort "$@"
+}