ACK: [PATCH 1/2][FWTS-TEST] test: ensure we have a well defined sort default
Alex Hung
alex.hung at canonical.com
Fri Jan 18 09:21:52 UTC 2013
On 01/17/2013 10:07 PM, Colin King wrote:
> 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
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list