]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Use LC_NUMERIC=C for tests
authorWolfgang Stöggl <c72578@yahoo.de>
Mon, 18 Nov 2019 19:11:47 +0000 (20:11 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Mon, 18 Nov 2019 22:02:28 +0000 (23:02 +0100)
The following tests require dot as decimal separator:
graph1, rpn1, create-with-source-4, dcounter1, vformatter1, pdp-calc1

Set LC_NUMERIC=C, which allows these tests to pass also under locales,
where the decimal separator is not a dot by default:
de_DE, es_ES, fr_FR, nl_NL etc.

tests/functions

index e12193e941150d87321dc4e15b02b58a166f6f97..b87538dbefebf2e73596c78bb02944bd46df5e83 100644 (file)
@@ -2,6 +2,10 @@
 TZ=Europe/Zurich
 export TZ
 
+# Use dot as decimal separator, which is required for some tests to pass
+LC_NUMERIC=C
+export LC_NUMERIC
+
 BASEDIR="${BASEDIR:-$(dirname -- $0)}"
 BASEDIR="$(readlink -f -- $BASEDIR)"