From 63969b13fa91665c43f6750a3392fc12e6d099cb Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sun, 23 Aug 2015 17:38:30 +0200 Subject: [PATCH] Fix spurious uniq.test failure. Reported by Christopher Ziegler. * src/tests/uniq.test: For LC_ALL=C before sort. --- NEWS | 1 + THANKS | 1 + src/tests/uniq.test | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d4562eb88..7bd88f7ab 100644 --- a/NEWS +++ b/NEWS @@ -73,6 +73,7 @@ New in spot 1.99.2a (not yet released) - Fix some warnings reported by the development version of GCC 6. - the spot.translate() function of the Python binding had a typo preventing the use of 'low'/'medium'/'high' as argument. + - Fix spurious failure of uniq.test under different locales. New in spot 1.99.2 (2015-07-18) diff --git a/THANKS b/THANKS index 8622695fd..273daa309 100644 --- a/THANKS +++ b/THANKS @@ -4,6 +4,7 @@ suggestions. Akim Demaille Caroline Lemieux Christian Dax +Christopher Ziegler David Müller Ernesto Posse Étienne Renault diff --git a/src/tests/uniq.test b/src/tests/uniq.test index 596873386..e97c19f15 100755 --- a/src/tests/uniq.test +++ b/src/tests/uniq.test @@ -36,7 +36,7 @@ cat aut1 aut2 rand11 rand12 rand13 rand21 rand22 rand23 > all diff aut out -run 0 ../../bin/randaut -Hl -u -n 4 -Q1 a b | sort | +run 0 ../../bin/randaut -Hl -u -n 4 -Q1 a b | LC_ALL=C sort | ../../bin/autfilt -H | grep '&' > out cat >expected <