From 6fff3cc03589cb0fdf02b4bedf1c35bcb000f28d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 8 Mar 2016 12:00:15 -0500 Subject: [PATCH] Fix sorting on LC_ALL=C platforms We made assumptions on the platform for sorting purposes, which turned out to break with new images being deployed. Explicitly setting LC_ALL should make this work. Change-Id: Id65f1bff8e38c777fa406d88ac6a2355d6033d94 --- tests/test_package_ordering.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_package_ordering.sh b/tests/test_package_ordering.sh index a568abf928..bfc2a1954f 100755 --- a/tests/test_package_ordering.sh +++ b/tests/test_package_ordering.sh @@ -7,6 +7,7 @@ TOP=$(cd $(dirname "$0")/.. && pwd) source $TOP/tests/unittest.sh +export LC_ALL=en_US.UTF-8 PKG_FILES=$(find $TOP/files/debs $TOP/files/rpms $TOP/files/rpms-suse -type f) TMPDIR=$(mktemp -d)