This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
patch: Add test for international currency formatting
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Sat, 21 Jun 2003 14:38:31 +0200
- Subject: patch: Add test for international currency formatting
The current formatting of international currency is broken. Here is a
test case demonstrating the current output. My next step is to change
stdlib/strfmon.c to produce the correct result, and update the test
case to demonstrate it.
At the moment, the values of int_cs_precedes, int_sign_posn and
int_sep_by_space is ignored by glibc, and the values of cs_precedes,
sign_posn and sep_by_space is used instead.
Please include in the glibc distribution.
2003-06-21 Petter Reinholdtsen <pere@hungry.com>
* tst-fmon.data: Add test for international currency
formatting.
* localedata/tst-fmon.sh: Likewise.
* localedata/Makefile: Likewise.
* localedata/tst-fmon-locales/int_tstfmon_n01y12: New file.
* localedata/tst-fmon-locales/int_tstfmon_n02n40: New file.
* localedata/tst-fmon-locales/int_tstfmon_n10y31: New file.
* localedata/tst-fmon-locales/int_tstfmon_n11y41: New file.
* localedata/tst-fmon-locales/int_tstfmon_n12y11: New file.
* localedata/tst-fmon-locales/int_tstfmon_n20n32: New file.
* localedata/tst-fmon-locales/int_tstfmon_n30y20: New file.
* localedata/tst-fmon-locales/int_tstfmon_n41n00: New file.
* localedata/tst-fmon-locales/int_tstfmon_y01y10: New file.
* localedata/tst-fmon-locales/int_tstfmon_y02n22: New file.
* localedata/tst-fmon-locales/int_tstfmon_y22n42: New file.
* localedata/tst-fmon-locales/int_tstfmon_y30y21: New file.
* localedata/tst-fmon-locales/int_tstfmon_y32n31: New file.
* localedata/tst-fmon-locales/int_tstfmon_y40y00: New file.
* localedata/tst-fmon-locales/int_tstfmon_y42n21: New file.
Index: localedata/Makefile
===================================================================
RCS file: /cvs/glibc/libc/localedata/Makefile,v
retrieving revision 1.95
diff -u -3 -p -u -r1.95 Makefile
--- localedata/Makefile 27 Apr 2003 09:02:37 -0000 1.95
+++ localedata/Makefile 21 Jun 2003 12:34:27 -0000
@@ -58,6 +60,7 @@ generated := $(test-input) $(test-output
tst-mbswcs.out tst-leaks.mtrace mtrace-tst-leaks
generated-dirs := $(ld-test-names) tt_TT de_DE.437 \
$(addprefix tstfmon_,$(fmon-tests)) \
+ $(addprefix int_tstfmon_,$(fmon-tests)) \
distribute := CHECKSUMS README SUPPORTED ChangeLog \
$(charmaps) $(locales) \
@@ -68,6 +71,7 @@ distribute := CHECKSUMS README SUPPORTED
tst-numeric.sh tst-numeric.data \
$(wildcard tests-mbwc/*.[ch]) \
$(addprefix tst-fmon-locales/tstfmon_,$(fmon-tests)) \
+ $(addprefix tst-fmon-locales/int_tstfmon_,$(fmon-tests)) \
gen-locale.sh show-ucs-data.c tst-langinfo.sh \
tst-wctype.sh tst-wctype.input gen-unicode-ctype.c \
dump-ctype.c
Index: localedata/tst-fmon.sh
===================================================================
RCS file: /cvs/glibc/libc/localedata/tst-fmon.sh,v
retrieving revision 1.14
diff -u -3 -p -u -r1.14 tst-fmon.sh
--- localedata/tst-fmon.sh 16 Jun 2003 07:25:07 -0000 1.14
+++ localedata/tst-fmon.sh 21 Jun 2003 12:27:52 -0000
@@ -29,7 +29,7 @@ here=`pwd`
lang=`sed -e '/^#/d' -e '/^$/d' -e '/^C /d' -e '/^tstfmon/d' -e 's/^\([^ ]*\).*/\1/' $datafile | sort | uniq`
# Generate data files.
-for cns in `cd ./tst-fmon-locales && ls tstfmon_*`; do
+for cns in `cd ./tst-fmon-locales && ls tstfmon_* int_tstfmon_*`; do
cn=tst-fmon-locales/$cns
fn=charmaps/ISO-8859-1
I18NPATH=. GCONV_PATH=${common_objpfx}iconvdata \
Index: localedata/tst-fmon.data
===================================================================
RCS file: /cvs/glibc/libc/localedata/tst-fmon.data,v
retrieving revision 1.10
diff -u -3 -p -u -r1.10 tst-fmon.data
--- localedata/tst-fmon.data 1 Mar 2002 05:20:48 -0000 1.10
+++ localedata/tst-fmon.data 21 Jun 2003 12:27:52 -0000
@@ -236,3 +236,113 @@ tstfmon_y42n21 %11n 123.45 $ +123.45
tstfmon_y42n21 %11n -123.45 123.45 $-
tstfmon_y42n21 %^=*#5n 123.45 $ +**123.45
tstfmon_y42n21 %^=*#5n -123.45 **123.45 $-
+#
+# check all int_cs_precedes/int_sign_posn/int_sep_by_space
+# combinations using special test locales. The six characters after
+# the "_" indicate these three values for positive and then negative
+# quantities.
+#
+int_tstfmon_n01y12 %i 123.45 +USC 123.45
+int_tstfmon_n01y12 %i -123.45 -USC 123.45
+int_tstfmon_n01y12 %13i 123.45 +USC 123.45
+int_tstfmon_n01y12 %13i -123.45 -USC 123.45
+int_tstfmon_n01y12 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n01y12 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n02n40 %i 123.45 +USC 123.45
+int_tstfmon_n02n40 %i -123.45 -USC 123.45
+int_tstfmon_n02n40 %13i 123.45 +USC 123.45
+int_tstfmon_n02n40 %13i -123.45 -USC 123.45
+int_tstfmon_n02n40 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n02n40 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n10y31 %i 123.45 +USC 123.45
+int_tstfmon_n10y31 %i -123.45 -USC 123.45
+int_tstfmon_n10y31 %13i 123.45 +USC 123.45
+int_tstfmon_n10y31 %13i -123.45 -USC 123.45
+int_tstfmon_n10y31 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n10y31 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n11y41 %i 123.45 +USC 123.45
+int_tstfmon_n11y41 %i -123.45 -USC 123.45
+int_tstfmon_n11y41 %13i 123.45 +USC 123.45
+int_tstfmon_n11y41 %13i -123.45 -USC 123.45
+int_tstfmon_n11y41 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n11y41 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n12y11 %i 123.45 +USC 123.45
+int_tstfmon_n12y11 %i -123.45 -USC 123.45
+int_tstfmon_n12y11 %13i 123.45 +USC 123.45
+int_tstfmon_n12y11 %13i -123.45 -USC 123.45
+int_tstfmon_n12y11 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n12y11 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n20n32 %i 123.45 +USC 123.45
+int_tstfmon_n20n32 %i -123.45 -USC 123.45
+int_tstfmon_n20n32 %13i 123.45 +USC 123.45
+int_tstfmon_n20n32 %13i -123.45 -USC 123.45
+int_tstfmon_n20n32 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n20n32 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n30y20 %i 123.45 +USC 123.45
+int_tstfmon_n30y20 %i -123.45 -USC 123.45
+int_tstfmon_n30y20 %13i 123.45 +USC 123.45
+int_tstfmon_n30y20 %13i -123.45 -USC 123.45
+int_tstfmon_n30y20 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n30y20 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_n41n00 %i 123.45 +USC 123.45
+int_tstfmon_n41n00 %i -123.45 -USC 123.45
+int_tstfmon_n41n00 %13i 123.45 +USC 123.45
+int_tstfmon_n41n00 %13i -123.45 -USC 123.45
+int_tstfmon_n41n00 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_n41n00 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_y01y10 %i 123.45 +USC 123.45
+int_tstfmon_y01y10 %i -123.45 -USC 123.45
+int_tstfmon_y01y10 %13i 123.45 +USC 123.45
+int_tstfmon_y01y10 %13i -123.45 -USC 123.45
+int_tstfmon_y01y10 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_y01y10 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_y02n22 %i 123.45 USC 123.45
+int_tstfmon_y02n22 %i -123.45 O/DUSC 123.45
+int_tstfmon_y02n22 %14i 123.45 USC 123.45
+int_tstfmon_y02n22 %14i -123.45 O/DUSC 123.45
+int_tstfmon_y02n22 %^=*#5i 123.45 USC **123.45
+int_tstfmon_y02n22 %^=*#5i -123.45 O/DUSC **123.45
+#
+int_tstfmon_y22n42 %i 123.45 +USC 123.45
+int_tstfmon_y22n42 %i -123.45 -USC 123.45
+int_tstfmon_y22n42 %13i 123.45 +USC 123.45
+int_tstfmon_y22n42 %13i -123.45 -USC 123.45
+int_tstfmon_y22n42 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_y22n42 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_y30y21 %i 123.45 +USC 123.45
+int_tstfmon_y30y21 %i -123.45 -USC 123.45
+int_tstfmon_y30y21 %13i 123.45 +USC 123.45
+int_tstfmon_y30y21 %13i -123.45 -USC 123.45
+int_tstfmon_y30y21 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_y30y21 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_y32n31 %i 123.45 +USC 123.45
+int_tstfmon_y32n31 %i -123.45 -USC 123.45
+int_tstfmon_y32n31 %13i 123.45 +USC 123.45
+int_tstfmon_y32n31 %13i -123.45 -USC 123.45
+int_tstfmon_y32n31 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_y32n31 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_y40y00 %i 123.45 +USC 123.45
+int_tstfmon_y40y00 %i -123.45 -USC 123.45
+int_tstfmon_y40y00 %13i 123.45 +USC 123.45
+int_tstfmon_y40y00 %13i -123.45 -USC 123.45
+int_tstfmon_y40y00 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_y40y00 %^=*#5i -123.45 -USC **123.45
+#
+int_tstfmon_y42n21 %i 123.45 +USC 123.45
+int_tstfmon_y42n21 %i -123.45 -USC 123.45
+int_tstfmon_y42n21 %13i 123.45 +USC 123.45
+int_tstfmon_y42n21 %13i -123.45 -USC 123.45
+int_tstfmon_y42n21 %^=*#5i 123.45 +USC **123.45
+int_tstfmon_y42n21 %^=*#5i -123.45 -USC **123.45
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n01y12 localedata/tst-fmon-locales/int_tstfmon_n01y12
--- localedata/tst-fmon-locales.orig/int_tstfmon_n01y12 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n01y12 Sat Jun 21 12:49:01 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 0
+int_p_sep_by_space 1
+int_n_cs_precedes 1
+int_n_sign_posn 1
+int_n_sep_by_space 2
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n02n40 localedata/tst-fmon-locales/int_tstfmon_n02n40
--- localedata/tst-fmon-locales.orig/int_tstfmon_n02n40 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n02n40 Sat Jun 21 12:49:29 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 0
+int_p_sep_by_space 2
+int_n_cs_precedes 0
+int_n_sign_posn 4
+int_n_sep_by_space 0
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n10y31 localedata/tst-fmon-locales/int_tstfmon_n10y31
--- localedata/tst-fmon-locales.orig/int_tstfmon_n10y31 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n10y31 Sat Jun 21 12:53:43 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 1
+int_p_sep_by_space 0
+int_n_cs_precedes 1
+int_n_sign_posn 3
+int_n_sep_by_space 1
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n11y41 localedata/tst-fmon-locales/int_tstfmon_n11y41
--- localedata/tst-fmon-locales.orig/int_tstfmon_n11y41 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n11y41 Sat Jun 21 12:53:26 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 1
+int_p_sep_by_space 1
+int_n_cs_precedes 1
+int_n_sign_posn 4
+int_n_sep_by_space 1
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n12y11 localedata/tst-fmon-locales/int_tstfmon_n12y11
--- localedata/tst-fmon-locales.orig/int_tstfmon_n12y11 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n12y11 Sat Jun 21 12:53:05 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 1
+int_p_sep_by_space 2
+int_n_cs_precedes 1
+int_n_sign_posn 1
+int_n_sep_by_space 1
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n20n32 localedata/tst-fmon-locales/int_tstfmon_n20n32
--- localedata/tst-fmon-locales.orig/int_tstfmon_n20n32 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n20n32 Sat Jun 21 12:52:49 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 2
+int_p_sep_by_space 0
+int_n_cs_precedes 0
+int_n_sign_posn 3
+int_n_sep_by_space 2
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n30y20 localedata/tst-fmon-locales/int_tstfmon_n30y20
--- localedata/tst-fmon-locales.orig/int_tstfmon_n30y20 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n30y20 Sat Jun 21 12:52:33 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 3
+int_p_sep_by_space 0
+int_n_cs_precedes 1
+int_n_sign_posn 2
+int_n_sep_by_space 0
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_n41n00 localedata/tst-fmon-locales/int_tstfmon_n41n00
--- localedata/tst-fmon-locales.orig/int_tstfmon_n41n00 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_n41n00 Sat Jun 21 12:52:12 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 0
+int_p_sign_posn 4
+int_p_sep_by_space 1
+int_n_cs_precedes 0
+int_n_sign_posn 0
+int_n_sep_by_space 0
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y01y10 localedata/tst-fmon-locales/int_tstfmon_y01y10
--- localedata/tst-fmon-locales.orig/int_tstfmon_y01y10 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y01y10 Sat Jun 21 12:51:57 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 0
+int_p_sep_by_space 1
+int_n_cs_precedes 1
+int_n_sign_posn 1
+int_n_sep_by_space 0
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y02n22 localedata/tst-fmon-locales/int_tstfmon_y02n22
--- localedata/tst-fmon-locales.orig/int_tstfmon_y02n22 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y02n22 Sat Jun 21 12:51:39 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign ""
+negative_sign "<U004F><U002F><U0044>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 0
+int_p_sep_by_space 2
+int_n_cs_precedes 0
+int_n_sign_posn 2
+int_n_sep_by_space 2
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y22n42 localedata/tst-fmon-locales/int_tstfmon_y22n42
--- localedata/tst-fmon-locales.orig/int_tstfmon_y22n42 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y22n42 Sat Jun 21 12:51:21 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 2
+int_p_sep_by_space 2
+int_n_cs_precedes 0
+int_n_sign_posn 4
+int_n_sep_by_space 2
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y30y21 localedata/tst-fmon-locales/int_tstfmon_y30y21
--- localedata/tst-fmon-locales.orig/int_tstfmon_y30y21 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y30y21 Sat Jun 21 12:51:02 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 3
+int_p_sep_by_space 0
+int_n_cs_precedes 1
+int_n_sign_posn 2
+int_n_sep_by_space 1
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y32n31 localedata/tst-fmon-locales/int_tstfmon_y32n31
--- localedata/tst-fmon-locales.orig/int_tstfmon_y32n31 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y32n31 Sat Jun 21 12:50:45 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 3
+int_p_sep_by_space 2
+int_n_cs_precedes 0
+int_n_sign_posn 3
+int_n_sep_by_space 1
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y40y00 localedata/tst-fmon-locales/int_tstfmon_y40y00
--- localedata/tst-fmon-locales.orig/int_tstfmon_y40y00 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y40y00 Sat Jun 21 12:50:25 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 4
+int_p_sep_by_space 0
+int_n_cs_precedes 1
+int_n_sign_posn 0
+int_n_sep_by_space 0
+END LC_MONETARY
diff -urN localedata/tst-fmon-locales.orig/int_tstfmon_y42n21 localedata/tst-fmon-locales/int_tstfmon_y42n21
--- localedata/tst-fmon-locales.orig/int_tstfmon_y42n21 Thu Jan 1 01:00:00 1970
+++ localedata/tst-fmon-locales/int_tstfmon_y42n21 Sat Jun 21 12:50:06 2003
@@ -0,0 +1,26 @@
+# One of a set of test locales for strfmon()
+
+# The six characters after the "_" in the locale name indicate
+# the last six LC_MONETARY values below.
+
+LC_CTYPE
+copy "POSIX"
+END LC_CTYPE
+
+LC_MONETARY
+int_curr_symbol "<U0055><U0053><U0043><U0020>"
+currency_symbol "<U0024>"
+mon_decimal_point "<U002E>"
+mon_thousands_sep "<U002C>"
+mon_grouping 3;3
+positive_sign "<U002B>"
+negative_sign "<U002D>"
+int_frac_digits 2
+frac_digits 2
+int_p_cs_precedes 1
+int_p_sign_posn 4
+int_p_sep_by_space 2
+int_n_cs_precedes 0
+int_n_sign_posn 2
+int_n_sep_by_space 1
+END LC_MONETARY