PR libstdc++/31413 fix test failure on Debian systems
authorJonathan Wakely <jwakely@redhat.com>
Wed, 29 Aug 2018 10:05:55 +0000 (11:05 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 29 Aug 2018 10:05:55 +0000 (11:05 +0100)
commit9111b0838433457b28e72e646fbe04054cf64780
tree08c6566ab2bbc235a191fc2ba0d3d53fbc6f57b5
parentfb9cb5369dff9afae40dec2224e485625c425a67
PR libstdc++/31413 fix test failure on Debian systems

Debian uses a different D_FMT string for the zh_TW.UTF-8 locale, which
caused this test to fail. Try to detect the Debian format and adjust
the input being tested.

PR libstdc++/31413
* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Check D_FMT
string for alternative format.

From-SVN: r263948
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/4.cc