chiark / gitweb /
test suite: Always pass LC_COLLATE=C to sort(1).
[dgit.git] / tests / lib-core
index e2b6c0623d6b423301ed7eee59f57ac80bb00d9b..724c8acafbf3c21600f906c30b54fc58b5cc7a35 100644 (file)
@@ -40,3 +40,7 @@ t-filter-out-git-hyphen-dir () {
        path="${path%:}"
        PATH="$path"
 }
+
+t-sort () {
+       LC_COLLATE=C sort "$@"
+}