This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Basic sorting order test for no_NO


Here is a patch to add the basic sorting order for norwegian.  I start
simple, with the order of the 29 norwegian characters.  I'll send
patches to extend it when I know more.

2003-04-15  Petter Reinholdtsen  <pere at hungry dot com>

        * Makefile (test-input): Add no_NO.ISO-8859-1.
        (LOCALES): Likewise.
        * no_NO.in: New file.

Index: localedata/Makefile
===================================================================
RCS file: /cvs/glibc/libc/localedata/Makefile,v
retrieving revision 1.94
diff -u -3 -p -u -r1.94 Makefile
--- localedata/Makefile 30 Jan 2003 20:21:36 -0000      1.94
+++ localedata/Makefile 15 Apr 2003 21:11:35 -0000
@@ -41,7 +41,7 @@ test-srcs := collate-test xfrm-test tst-
             tst-mbswcs1 tst-mbswcs2 tst-mbswcs3 tst-mbswcs4 tst-mbswcs5 \
             tst-ctype tst-wctype tst-langinfo
 test-input := de_DE.ISO-8859-1 en_US.ISO-8859-1 da_DK.ISO-8859-1 \
-             hr_HR.ISO-8859-2 sv_SE.ISO-8859-1
+             hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 no_NO.ISO-8859-1
 test-input-data = $(addsuffix .in, $(basename $(test-input)))
 test-output := $(foreach s, .out .xout, \
                         $(addsuffix $s, $(basename $(test-input))))
@@ -130,7 +130,7 @@ ifeq (no,$(cross-compiling))
 LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
           en_US.ISO-8859-1 ja_JP.EUC-JP da_DK.ISO-8859-1 \
           hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 ja_JP.SJIS fr_FR.ISO-8859-1 \
-          vi_VN.TCVN5712-1
+          vi_VN.TCVN5712-1 no_NO.ISO-8859-1
 LOCALE_SRCS := $(shell echo "$(LOCALES)"|sed 's/\([^ .]*\)[^ ]*/\1/g')
 CHARMAPS := $(shell echo "$(LOCALES)" | \
                    sed -e 's/[^ .]*[.]\([^ ]*\)/\1/g' -e s/SJIS/SHIFT_JIS/g)
--- /dev/null   Thu Jan  1 01:00:00 1970
+++ localedata/no_NO.in Tue Apr 15 23:09:54 2003
@@ -0,0 +1,29 @@
+a
+b
+c
+d
+e
+f
+g
+h
+i
+j
+k
+l
+m
+n
+o
+p
+q
+r
+s
+t
+u
+v
+w
+x
+y
+z
+æ
+ø
+å


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]