From c3f3f3816bf6b9c1c6f71ea84d0907efc0a7dc7b Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 15 Jan 2020 09:35:58 -0800 Subject: [PATCH] =?UTF-8?q?12197=20sleeptest=20is=20failing=20Reviewed=20b?= =?UTF-8?q?y:=20Toomas=20Soome=20=20Reviewed=20by:=20Robert?= =?UTF-8?q?=20Mustacchi=20=20Reviewed=20by:=20Gerg=C5=91?= =?UTF-8?q?=20Doma=20=20Approved=20by:=20Gordon=20Ross?= =?UTF-8?q?=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/test/util-tests/tests/sleep/sleeptest.ksh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/src/test/util-tests/tests/sleep/sleeptest.ksh b/usr/src/test/util-tests/tests/sleep/sleeptest.ksh index 3cc107acf5c5..555d6ac6f82d 100644 --- a/usr/src/test/util-tests/tests/sleep/sleeptest.ksh +++ b/usr/src/test/util-tests/tests/sleep/sleeptest.ksh @@ -12,6 +12,7 @@ # # Copyright 2019 Robert Mustacchi +# Copyright 2020 Joyent, Inc. # # @@ -168,13 +169,12 @@ sleep_err -- -0.3 # # Test a locale that uses a ',' character (de_DE.UTF-8 is one) as the -# decimal point to make sure that sleep correctly is using LC_NUMERIC. -# -export LANG=de_DE.UTF-8 +# decimal point to make sure that sleep is correctly using LC_NUMERIC. +export LC_ALL=de_DE.UTF-8 sleep_err 21.45 sleep_one 2,5 2 500000000 sleep_one 34,0051 34 5100000 sleep_one 3,6d 311040 0 -export LANG=C.UTF-8 +export LC_ALL=C.UTF-8 exit $sleep_exit