From 8a222c3c8566d509bd9ea454419cb61eeb1b2ec8 Mon Sep 17 00:00:00 2001 From: uweigand Date: Sat, 27 Sep 2003 03:28:15 +0000 Subject: [PATCH] * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE locale. * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71849 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc | 2 +- libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 38a115dd00d..c49d9d782d3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-09-26 Ulrich Weigand + + * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either + "Son" or "So" as abbreviated name for Sunday in de_DE locale. + * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise. + 2003-09-26 Brad Spencer * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: diff --git a/libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc b/libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc index c09c11ec608..03f5b7d275f 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc @@ -52,7 +52,7 @@ void test02() iterator_type os_it02 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a'); string result2 = oss.str(); - VERIFY( result2 == "Son" ); + VERIFY( result2 == "Son" || result2 == "So" ); oss.str(empty); // "%d.%m.%Y" iterator_type os_it23 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x'); diff --git a/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc index 62751ffc457..d056bb3c6f0 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc @@ -52,7 +52,7 @@ void test02() iterator_type os_it02 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a'); wstring result2 = oss.str(); - VERIFY( result2 == L"Son" ); + VERIFY( result2 == L"Son" || result2 == L"So" ); oss.str(empty); // "%d.%m.%Y" iterator_type os_it23 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x'); -- 2.11.0