From dd17514ce7a10d785b977586224d31563888cb9d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 Dec 2003 09:51:08 +0000 Subject: Update. 2003-11-30 Petter Reinholdtsen * stdlib/strfmon.c: Correct formatting of international currency values. The international currency formatting should prefer the int_* values if they are set for a locale, and use the domestic values if the int_* values are unset. --- localedata/tst-fmon.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'localedata/tst-fmon.sh') diff --git a/localedata/tst-fmon.sh b/localedata/tst-fmon.sh index c8b6d69949..95dab36f74 100755 --- a/localedata/tst-fmon.sh +++ b/localedata/tst-fmon.sh @@ -44,16 +44,17 @@ errcode=0 while IFS=" " read locale format value expect; do case "$locale" in '#'*) continue ;; esac if [ -n "$format" ]; then + expect=`echo "$expect" | sed 's/^\"\(.*\)\"$/\1/'` if LOCPATH=${common_objpfx}localedata \ GCONV_PATH=${common_objpfx}/iconvdata \ ${run_program_prefix} ${common_objpfx}localedata/tst-fmon \ "$locale" "$format" "$value" "$expect" ; then echo "Locale: \"${locale}\" Format: \"${format}\"" \ - "Value: \"${value}\" Expect: \"${expect}\" passed" + "Value: \"${value}\" Expected: \"${expect}\" passed" else errcode=$? echo "Locale: \"${locale}\" Format: \"${format}\"" \ - "Value: \"${value}\" Expect: \"${expect}\" failed" + "Value: \"${value}\" Expected: \"${expect}\" failed" fi fi done < $datafile -- cgit 1.4.1