]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
strcoll: Add bug-strcoll2 to testsuite (Bug 18589).
authorCarlos O'Donell <carlos@systemhalted.org>
Thu, 8 Oct 2015 20:54:30 +0000 (16:54 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Thu, 8 Oct 2015 21:02:50 +0000 (17:02 -0400)
Adds bug-strcoll2 to the string tests, along with the
generation of required locales.

ChangeLog
string/Makefile
string/bug-strcoll2.c

index f2dcaed912274ec19142be0137bfb3b2fdf3361b..df07ebfabfb8f37d95d42b2809d60d1e23b3671b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
 
+       [BZ #18589]
+       * string/Makefile (tests): Add bug-strcoll2.
+       (LOCALES): Add cs_CZ.UTF-8.
+
        [BZ #18589]
        * string/bug-strcoll2.c: New file.
        * locale/categories.def: Revert commit
@@ -7,7 +11,7 @@
        * locale/langinfo.h: Likewise.
        * locale/localeinfo.h: Likewise.
        * locale/C-collate.c: Likewise.
-       * programs/ld-collate.c (collate_output): Likewise.
+       * locale/programs/ld-collate.c (collate_output): Likewise.
        * string/strcoll_l.c (STRDIFF): Likewise.
        (STRCOLL): Likewise.
        * wcsmbs/wcscoll_l.c: Likewise.
index c543159afddab2ba1f16beca70368ca3576b5494..616fdeccdb45045e98735601f9979128e5bcf124 100644 (file)
@@ -54,7 +54,7 @@ tests         := tester inl-tester noinl-tester testcopy test-ffs     \
                   tst-strtok tst-strxfrm bug-strcoll1 tst-strfry       \
                   bug-strtok1 $(addprefix test-,$(strop-tests))        \
                   bug-envz1 tst-strxfrm2 tst-endian tst-svc2           \
-                  tst-strtok_r
+                  tst-strtok_r bug-strcoll2
 
 xtests = tst-strcoll-overflow
 
@@ -77,7 +77,8 @@ $(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out
        $(evaluate-test)
 
 LOCALES := de_DE.UTF-8 en_US.ISO-8859-1 en_US.UTF-8 \
-           tr_TR.ISO-8859-9 tr_TR.UTF-8
+           tr_TR.ISO-8859-9 tr_TR.UTF-8 cs_CZ.UTF-8 \
+          da_DK.ISO-8859-1
 include ../gen-locales.mk
 
 $(objpfx)test-strcasecmp.out: $(gen-locales)
index 5ce2f94f3460fd9eb5fa714c5f0ddaab0aa212dd..26cc873e5b6fe69c4630ffdd69c4a9807f5f26a9 100644 (file)
@@ -47,7 +47,7 @@ test_cs_CZ (void)
     }
   else
     {
-      puts ("FAIL: Wrong sorting in cz_CZ.UTF-8.");
+      puts ("FAIL: Wrong sorting in cs_CZ.UTF-8.");
       return 1;
     }
 }