diff --git a/tests/data/test1148 b/tests/data/test1148 index ba498698a..c4232f083 100644 --- a/tests/data/test1148 +++ b/tests/data/test1148 @@ -37,9 +37,6 @@ progress-bar http://%HOSTIP:%HTTPPORT/1148 -# --stderr log/stderrlog1148 - -perl -e '$ENV{"LC_NUMERIC"} = "en_US.UTF-8"; print "Test requires point as decimal separator" if system("./libtest/chkdecimalpoint");' - LC_ALL= LC_NUMERIC=en_US.UTF-8 @@ -57,13 +54,16 @@ Host: %HOSTIP:%HTTPPORT Accept: */* -# This allows the last 4 letters of the bar to get updated without it -# matters. We're mostly checking the width of it anyway. + +# Check that the progress finished at 100% and has the right bar width. +# Note the dot in 100.0% is regex to match any character since different +# locales use different separators. - bar 100.0% +correct -s/####################################################################..../bar/ +s/.*\r#{72} 100.0%/correct/ +