diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-05 09:51:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-05 09:51:08 +0000 |
commit | dd17514ce7a10d785b977586224d31563888cb9d (patch) | |
tree | f57c103834b1701ecae9c96ac5bdb78b5a6b9c25 /localedata/tst-fmon.sh | |
parent | Update. (diff) | |
download | glibc-dd17514ce7a10d785b977586224d31563888cb9d.tar.gz glibc-dd17514ce7a10d785b977586224d31563888cb9d.tar.bz2 glibc-dd17514ce7a10d785b977586224d31563888cb9d.zip |
Update.
2003-11-30 Petter Reinholdtsen <pere@hungry.com>
* 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.
Diffstat (limited to 'localedata/tst-fmon.sh')
-rwxr-xr-x | localedata/tst-fmon.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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 |