Skip to content

Commit 6fff3cc

Browse files
committed
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
1 parent 03cf3ce commit 6fff3cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_package_ordering.sh

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
77

88
source $TOP/tests/unittest.sh
99

10+
export LC_ALL=en_US.UTF-8
1011
PKG_FILES=$(find $TOP/files/debs $TOP/files/rpms $TOP/files/rpms-suse -type f)
1112

1213
TMPDIR=$(mktemp -d)

0 commit comments

Comments
 (0)