From 62fa3152f2b089c58753ab353c729f87286dcc85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wolfgang=20St=C3=B6ggl?= Date: Mon, 18 Nov 2019 20:11:47 +0100 Subject: [PATCH] Use LC_NUMERIC=C for tests 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/functions b/tests/functions index e12193e9..b87538db 100644 --- a/tests/functions +++ b/tests/functions @@ -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)" -- 2.47.2