logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Beerents <pet...@charm.nl>
Subject Inflexible date pattern in unit test code make tests fail from 2010
Date Fri, 12 Feb 2010 18:00:27 GMT
Hi,

I have found a litte bug in the testsuite_standalone code.
It concerns the following construction in the header file
test\cpp\util\filter.h

#define ABSOLUTE_DATE_AND_TIME_PAT \
           "[0-9]\\{1,2\\} .* 200[0-9]
[0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\},[0-9]\\{3\\}"

Tests minimumtestcase, patternlayouttest, timebasedrollingtest fail
because we are now are now in 2010.

Regards,

Peter
Amsterdam


Mime
View raw message