commit: 2f1506290aa5ad0023bc204dd43f72a20bc1405e
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 8 08:18:20 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 08:18:20 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=2f150629
tests: try and get qdepends test to clear regarding order changes
Travis for some reason sorts differently, try forcing explict C locale,
even though Travis should be using that already.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
tests/qdepends/dotest | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qdepends/dotest b/tests/qdepends/dotest
index 41a4edd..ab5e2d3 100755
--- a/tests/qdepends/dotest
+++ b/tests/qdepends/dotest
@@ -26,7 +26,8 @@ test() {
while IFS= read -r line ; do
if [[ ${line} == *:* ]] ; then
pkg=${line%%:*}
- echo "${pkg}: $(echo ${line#*:} | xargs -n1 | sort |
xargs)"
+ env LC_ALL=C \
+ echo "${pkg}: $(echo ${line#*:} | xargs -n1 |
sort | xargs)"
else
echo "${line}"
fi