aboutsummaryrefslogtreecommitdiff
path: root/testsuite/date (follow)
Commit message (Collapse)AuthorAgeFilesLines
* date,touch: allow timezone offsets in datesRon Yorston2021-09-171-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Allow ISO 8601 style dates to include a timezone offset. Like the '@' format these dates aren't relative to the user's current timezone and shouldn't be subject to DST adjustment. - The implementation uses the strptime() '%z' format specifier. This an extension which may not be available so the use of timezones is a configuration option. - The 'touch' applet has been updated to respect whether DST adjustment is required, matching 'date'. function old new delta parse_datestr 624 730 +106 static.fmt_str 106 136 +30 touch_main 388 392 +4 date_main 818 819 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 141/0) Total: 141 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: disable tests for no longer supported bbox-specific date formatsDenys Vlasenko2013-12-312-6/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-101-20/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-101-1/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev2010-12-311-0/+13
| | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Improved portability of testsDan Fandrich2010-08-111-0/+3
| | | | | | | | Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2010-07-051-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-121-1/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite-discovered fixesDenys Vlasenko2010-01-251-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* correct date testsuite to use compatible formatDenys Vlasenko2009-07-182-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: better version of previous commit; + fix testsuiteDenis Vlasenko2008-04-281-17/+18
| | | | | to have it checked
* date: fix date-works test, add date-works-1 one (currently fails)Denis Vlasenko2008-04-272-10/+138
|
* date: make it accept ISO date format. Fix help text.Denis Vlasenko2008-04-251-1/+44
| | | | | | | | make testsuite actually test something useful. function old new delta date_main 1094 1149 +55
* partially fix date testsuiteDenis Vlasenko2008-04-244-5/+5
|
* testsuite: fixDenis Vlasenko2008-04-231-1/+1
|
* Kill off the old 'tests' stuff. Write a ton of new tests for theEric Andersen2004-04-064-0/+7
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik