aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--posix/bug-regex5.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 954763fac7..4091d0717b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2018-02-27 Mike FABIAN <mfabian@redhat.com>
+ * posix/bug-regex5.c: Fix test case because with the new
+ iso14651_t1_common file, the da_DK locale now has 6 collating elements
+ in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
+ file.
+
+2018-02-27 Mike FABIAN <mfabian@redhat.com>
+
* localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
downloaded from ISO, the collation order of @-. and space has changed.
Therefore, this test file needed to be adapted.
diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c
index fd18b19df4..573da231e3 100644
--- a/posix/bug-regex5.c
+++ b/posix/bug-regex5.c
@@ -53,9 +53,9 @@ main (void)
printf ("No collating element!\n");
return 1;
}
- else if (found != 4)
+ else if (found != 6)
{
- printf ("expected 4 collating elements, found %d\n", found);
+ printf ("expected 6 collating elements, found %d\n", found);
return 1;
}