[PATCH 1/2][FWTS-TEST] test: ensure we have a well defined sort default
Colin King
colin.king at canonical.com
Thu Jan 17 14:07:50 UTC 2013
From: Colin Ian King <colin.king at canonical.com>
Sorting in different locales shows up different results, especially
when running in chroots (for example when doing 32 bit fwts tests
on a 64 bit machine). To avoid the confusion we force the sort
order to traditional sort byte ordering.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
test.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test.sh b/test.sh
index 24913f6..9d4a9ba 100755
--- a/test.sh
+++ b/test.sh
@@ -1,4 +1,9 @@
#!/bin/bash
+#
+# Keep sort order sane
+#
+export LC_ALL=C
+
if [ -z $FWTS ]; then
export FWTS=fwts
fi
--
1.8.0
More information about the fwts-devel
mailing list