summaryrefslogtreecommitdiff
path: root/tests/lib-core
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-07-12 08:33:17 +0100
committerSean Whitton <spwhitton@spwhitton.name>2018-07-12 08:33:17 +0100
commitae8f33be945323e02e670a97c8ac6d42a0e1be40 (patch)
tree2bbf98c464b32b8ede618bf93929741246b81b5f /tests/lib-core
parent4a142fe137c1bed5a0cb5d14c41adcb3355458c4 (diff)
parent7166dbc963a9c01ce62a0564bb7b905156adb560 (diff)
Merge tag 'debian/5.8' into stretch-bpo
dgit release 5.8 for unstable (sid) [dgit] [dgit distro=debian] # gpg: Signature made Sun 08 Jul 2018 11:43:29 BST # gpg: using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39 # gpg: Can't check signature: No public key
Diffstat (limited to 'tests/lib-core')
-rw-r--r--tests/lib-core6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib-core b/tests/lib-core
index c3a04cb..724c8ac 100644
--- a/tests/lib-core
+++ b/tests/lib-core
@@ -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 "$@"
+}