X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-core;h=4550b9ec9d091b3b8d798c24b62576da521745ef;hp=e2b6c0623d6b423301ed7eee59f57ac80bb00d9b;hb=31a068bcb82e051b0bf31cf2ab4310e0ee2880d6;hpb=1066c6442bc1471d440ac86711250d825b5ddc2c diff --git a/tests/lib-core b/tests/lib-core index e2b6c062..4550b9ec 100644 --- a/tests/lib-core +++ b/tests/lib-core @@ -25,8 +25,9 @@ t-set-using-tmp () { export DGIT_TEST_DUMMY_DIR=$tmp export DGIT_TEST_TMP=$tmp export GNUPGHOME=$tmp/nonexistent + export DEBFULLNAME='dgit test git user' git config --global user.email 'dgit-test@debian.example.net' - git config --global user.name 'dgit test git user' + git config --global user.name "$DEBFULLNAME" git config --global protocol.ext.allow always } @@ -40,3 +41,7 @@ t-filter-out-git-hyphen-dir () { path="${path%:}" PATH="$path" } + +t-sort () { + LC_COLLATE=C sort "$@" +}