Paul Eggert
dfef85e753
(relative-3): New test, derived from a bug report by John Thomas McDole.
2006-04-25 10:29:10 +00:00
Jim Meyering
01b7701a24
(uninit-64): Restore this test.
...
Add start-up code to detect, and work around, the cases in
which the test might fail.
2005-09-24 07:57:36 +00:00
Paul Eggert
0c42a4951b
(uninit-64): Remove this test. It wasn't
...
portable in theory (it doesn't work on hosts where 'int' is 64
bits, example) or in practice (Solaris 8 localtime returns garbage
in tm_year for the specified date, but that's not coreutils's
fault).
2005-09-24 07:05:27 +00:00
Jim Meyering
105ae85e38
(rfc822-1): Compensate for Solaris 5.9's /bin/sh,
...
which emits a diagnostic to stderr when this test's LC_ALL=de_DE
cannot be honored.
2005-09-16 18:07:46 +00:00
Jim Meyering
d43700c169
whoops. Update expected output, too.
2005-09-16 17:54:34 +00:00
Jim Meyering
b02c170d2f
(subfmt-up1): Put quotes around format string
...
to protect `^' from interpretation by some shells.
Add a use of OUT_SUBST to compensate for Solaris strftime's slightly
different formatting of %c.
2005-09-16 17:53:40 +00:00
Jim Meyering
8a11d99e7d
(subfmt-up1): Test the combination of the
...
to-upper-case modifier (^) and a conversion specifier that
expands to a string containing lower case characters.
2005-09-16 06:54:19 +00:00
Jim Meyering
f6198493b8
(tz-5w, tz-5wf): Test new %:z format with a field width.
2005-09-14 09:54:15 +00:00
Paul Eggert
20b858a1e6
Add tz-1 through tz-5.
2005-09-14 06:58:44 +00:00
Paul Eggert
7cc7ac0574
Add tests for --rfc-3339.
2005-09-13 22:09:03 +00:00
Jim Meyering
da31244e99
(neg-secs2, fill-1, fill-2): Add new tests.
2005-09-09 07:22:27 +00:00
Jim Meyering
a8819700e1
Remove terminating "\n"s once again.
...
Automatically add them whenever EXIT != 0.
2005-08-17 20:20:33 +00:00
Jim Meyering
df23c845d2
[neg-secs]: New test for today's strftime.c bug fix.
2005-08-17 19:56:44 +00:00
Jim Meyering
c013687ab1
add comment
2005-08-15 13:05:58 +00:00
Jim Meyering
9d534aa492
use ERR_SUBST to get around fact that the diagnostic
...
you get on a system with 32-bit time_t is not the same as
the one you get for a system where it's 64 bits wide:
- date: time 72057594037927935 is out of range
+ date: invalid date `@72057594037927935'
2005-08-15 13:03:57 +00:00
Jim Meyering
4a78a30f89
(uninit-64): New test for today's date.c fix.
...
Rewrite all other OUT strings to include the terminating "\n".
2005-08-15 13:01:50 +00:00
Jim Meyering
d177820c9a
convert last batch of tests
2005-08-13 15:43:40 +00:00
Jim Meyering
d0c7a455fb
Use new ENV and ENV_DEL to support this latest batch of tests from
...
tests/date/Test.pm
2005-08-13 15:36:14 +00:00
Jim Meyering
3d7ea6356b
more tests translated from ../date/Test.pm
2005-08-13 14:45:38 +00:00
Jim Meyering
9741a40764
add a bunch more tests
2005-08-13 14:41:39 +00:00
Jim Meyering
75c40d536f
more tests translated from ../date/Test.pm
2005-08-13 14:33:33 +00:00
Jim Meyering
bb05ee39b8
With todays additions, the generated shell script,
...
tests/date/date-tests had becoming far too large (over 350KB),
so use the superior-but-perl-requiring framework instead.
* tests/date/Test.pm: Move new tests from here...
* tests/misc/date: ...to this new file.
2005-08-13 14:07:18 +00:00