Details
Description
When compiled with HP aCC 6 on HP-UX 11.31, the test 22.locale.time.put.cpp fails the following 17 assertions:
$ TOPDIR=~/stdcxx-4.2.x ./22.locale.time.put -q # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<char>::do_put (Sun Jan 1 00:00:00 1900, ..., "%c %") ==> "Sun Jan 1 00:00:00 1900 %", expected "Sun Jan 1 00:00:00 1900 " (strftime format "%a %b %e %T %Y %"), flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 842 Warning 701: no compatible locale found # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., 'Z') with TZ="foo0bar1" ==> L"", expected L"foo", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1680 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., "%Z") with TZ="foo0bar1" ==> L"", expected L"foo", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1680 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., 'Z') with TZ="foo0bar1" ==> L"", expected L"bar", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1681 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., "%Z") with TZ="foo0bar1" ==> L"", expected L"bar", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1681 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., 'Z') with TZ="EST1EDT2" ==> L"", expected L"EST", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1688 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., "%Z") with TZ="EST1EDT2" ==> L"", expected L"EST", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1688 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., 'Z') with TZ="EST1EDT2" ==> L"", expected L"EDT", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1689 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., "%Z") with TZ="EST1EDT2" ==> L"", expected L"EDT", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1689 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., 'Z') with TZ="ABC01DEF02" ==> L"", expected L"ABC", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1697 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., "%Z") with TZ="ABC01DEF02" ==> L"", expected L"ABC", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1697 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., 'Z') with TZ="ABC01DEF02" ==> L"", expected L"DEF", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1698 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., "%Z") with TZ="ABC01DEF02" ==> L"", expected L"DEF", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1698 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., 'Z') with TZ="AAAAAAAAAAAAAAAAAAA01BBBBBBBBBBBBBBBBBBB02" ==> L"", expected L"AAAAAAAAAAAAAAAAAAA", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1721 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 1900, ..., "%Z") with TZ="AAAAAAAAAAAAAAAAAAA01BBBBBBBBBBBBBBBBBBB02" ==> L"", expected L"AAAAAAAAAAAAAAAAAAA", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1721 # ASSERTION (S7) (5 lines): # TEXT: line 425. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., 'Z') with TZ="AAAAAAAAAAAAAAAAAAA01BBBBBBBBBBBBBBBBBBB02" ==> L"", expected L"BBBBBBBBBBBBBBBBBBB", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1722 # ASSERTION (S7) (5 lines): # TEXT: line 459. time_put<wchar_t>::do_put (Sun Jan 1 00:00:00 DST 1900, ..., "%Z") with TZ="AAAAAAAAAAAAAAAAAAA01BBBBBBBBBBBBBBBBBBB02" ==> L"", expected L"BBBBBBBBBBBBBBBBBBB", flags = fmtflags(0) # CLAUSE: lib.locale.time.put # FILE: 22.locale.time.put.cpp # LINE: 1722 # +-----------------------+----------+----------+----------+ # | DIAGNOSTIC | ACTIVE | TOTAL | INACTIVE | # +-----------------------+----------+----------+----------+ # | (S1) INFO | 135 | 135 | 0% | # | (S2) NOTE | 3 | 3 | 0% | # | (S5) WARNING | 147 | 147 | 0% | # | (S7) ASSERTION | 17 | 1862 | 99% | # | (S8) ERROR | 0 | 3 | 100% | # +-----------------------+----------+----------+----------+ /amd/devco/sebor/stdcxx-4.2.x/tests/src/driver.cpp:1528: rw_note(): warning: test finished, cannot call