Print this page
12197 sleeptest is failing

*** 10,19 **** --- 10,20 ---- # http://www.illumos.org/license/CDDL. # # # Copyright 2019 Robert Mustacchi + # Copyright 2020 Joyent, Inc. # # # Basic tests of sleep(1). sleep is a little hard to test, especially # for longer running cases. Therefore to test it, we basically take
*** 166,180 **** sleep_err 1z 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 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 exit $sleep_exit --- 167,180 ---- sleep_err 1z 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 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 LC_ALL=C.UTF-8 exit $sleep_exit