public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] Fix test case for hr_HR monetary formatting
@ 2017-11-30 15:20 Mike FABIAN
  0 siblings, 0 replies; only message in thread
From: Mike FABIAN @ 2017-11-30 15:20 UTC (permalink / raw)
  To: GNU C Library

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

    Fix test case for hr_HR monetary formatting
    
            * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]

-- 
Mike FABIAN <mfabian@redhat.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-Fix-test-case-for-hr_HR-monetary-formatting.patch --]
[-- Type: text/x-patch, Size: 1583 bytes --]

From cf4341ca90164398c05e74f72ff19dc52136731c Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Thu, 30 Nov 2017 10:50:44 +0100
Subject: [PATCH 3/5] Fix test case for hr_HR monetary formatting

	* stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
---
 ChangeLog              | 4 ++++
 stdlib/tst-strfmon_l.c | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5cc6dcfbf5..a3c2c750bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-30  Mike FABIAN  <mfabian@redhat.com>
+
+	* stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
+
 2017-11-30  Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
 
 	* localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
diff --git a/stdlib/tst-strfmon_l.c b/stdlib/tst-strfmon_l.c
index 1d8c842925..0276d7f957 100644
--- a/stdlib/tst-strfmon_l.c
+++ b/stdlib/tst-strfmon_l.c
@@ -163,12 +163,12 @@ static const struct locale_pair tests[] =
       "hr_HR.UTF-8",
       {
         {
-          "HRK 1\u202f234\u202f567,89", "Kn 1\u202f234\u202f567,89",
-          "HRK 1234567,89", "Kn 1234567,89"
+          "HRK 1\u202f234\u202f567,89", "1\u202f234\u202f567,89 kn",
+          "HRK 1234567,89", "1234567,89 kn"
         },
         {
-          "-HRK 1\u202f234\u202f567,89", "-Kn 1\u202f234\u202f567,89",
-          "-HRK 1234567,89", "-Kn 1234567,89"
+          "-HRK 1\u202f234\u202f567,89", "-1\u202f234\u202f567,89 kn",
+          "-HRK 1234567,89", "-1234567,89 kn"
         }
       }
     },
-- 
2.14.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-30 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 15:20 [COMMITTED] Fix test case for hr_HR monetary formatting Mike FABIAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).