From e0e4c321c3145b6ac0e8f6e894f87790cf9437ce Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 27 Mar 2019 17:44:51 -0400 Subject: Fix strptime era handling, add more strftime tests [BZ #24394] Test the transition points between all the currently listed Japanese era name changes. This includes testing the transition between the first year date and the second year date. This test will help test the upcoming Japanese era name change. Also fixes a fencepost error where the era name isn't properly parsed by strptime in the last (partial) year of the era. Example: if an era change happens in Feb 1990, and again in Aug 1995, that's 5.5 years long, but the 0.5 year wasn't accounted for. Reviewed-by: Carlos O'Donell --- time/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'time/Makefile') diff --git a/time/Makefile b/time/Makefile index 5c6304e..2ca2063 100644 --- a/time/Makefile +++ b/time/Makefile @@ -43,7 +43,7 @@ tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \ tst-getdate tst-mktime tst-mktime2 tst-ftime_l tst-strftime \ tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r bug-mktime1 \ tst-strptime3 bug-getdate1 tst-strptime-whitespace tst-ftime \ - tst-tzname tst-y2039 bug-mktime4 tst-strftime2 + tst-tzname tst-y2039 bug-mktime4 tst-strftime2 tst-strftime3 include ../Rules -- cgit v1.1