Commit Graph
2649 Commits
Author SHA1 Message Date
Jim Meyering bfb5ed16a2 Work around a bug in FreeBSD 5.0. 2005-09-28 18:33:11 +00:00
Paul Eggert 4b2dd7730a Test "touch -" too. 2005-09-26 23:02:34 +00:00
Jim Meyering 8149b5a566 . 2005-09-26 07:34:41 +00:00
Jim Meyering e3ce1ce8f7 (TESTS): Add read-only. 2005-09-26 07:32:08 +00:00
Jim Meyering 8507dc0375 New test, for root of chmod/usage failure. 2005-09-26 07:31:57 +00:00
Jim Meyering 6540422861 Work around the root cause of alpha-linux-1.sf.net test failure.
Remove all files in inner loop.
Otherwise, with a touch program that fails on unwritable files,
(this happens at least on linux-2.2.20) a -w file left behind
from a previous iteration could cause a spurious test failure.
2005-09-26 07:25:23 +00:00
Jim Meyering c5e9d78786 Undo the s/files/file/ change, but add
comments about why the old version was desired.
2005-09-26 07:20:22 +00:00
Jim Meyering b1e97405b2 (setuid-etc): Work around output mismatch when
a just-created test file cannot be made set-group-ID.
2005-09-25 20:46:30 +00:00
Jim Meyering ae296eb195 Use newer trap and tmpdir-creation framework.
Fix apparent typos (s/files/file/) in inner loop.
2005-09-25 09:58:00 +00:00
Jim Meyering 78e2e5d5a5 (eq-wid-1, eq-wid-2): Disable these tests for now.
They fail with non-gcc compilers and some combinations
of options and libraries on Solaris systems.
2005-09-24 10:06:29 +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 a40376f4c5 . 2005-09-23 20:14:20 +00:00
Jim Meyering fc6f1f7f9c . 2005-09-22 09:47:36 +00:00
Paul Eggert 9bbbf30543 Regenerate. 2005-09-22 07:07:36 +00:00
Jim Meyering a559a19405 Require that this test be run as non-root.
Otherwise, it fails due to the fact that the chmod 0 . doesn't
affect root.
2005-09-21 14:05:45 +00:00
Jim Meyering 3fcdbfdfda tweak 2005-09-20 13:24:29 +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
Paul Eggert 96971b59be Regenerate. 2005-09-16 07:58:03 +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 aadcf5b2e4 . 2005-09-10 14:16:53 +00:00
Jim Meyering 5c2d345121 Add test for the bug fixed today. 2005-09-10 14:06:29 +00:00
Paul Eggert 97f9677790 Regenerate. 2005-09-09 21:21:16 +00:00
Jim Meyering da31244e99 (neg-secs2, fill-1, fill-2): Add new tests. 2005-09-09 07:22:27 +00:00
Jim Meyering ae14879ab9 (setuid-etc): New test, for today's addition of colorization for
setuid, setgid files and sticky, other-writable, sticky-and-other-writable
directories.
2005-09-05 17:13:09 +00:00
Jim Meyering bbd6e2ef20 . 2005-09-04 20:08:25 +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 b2e04be2fa . 2005-08-14 14:31:23 +00:00
Jim Meyering 9609435c35 . 2005-08-13 17:36:34 +00:00
Jim Meyering 72c320dcb2 (SUBDIRS): Remove date. 2005-08-13 17:34:11 +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 0d7a17424c New keywords, ENV and ENV_DEL, to support tests/misc/date. 2005-08-13 15:34:52 +00:00
Jim Meyering db209f6c24 move a bunch of tests to ../misc/date 2005-08-13 14:45:45 +00:00
Jim Meyering 3d7ea6356b more tests translated from ../date/Test.pm 2005-08-13 14:45:38 +00:00
Jim Meyering 9d610b26f8 move a bunch of tests to ../misc/date 2005-08-13 14:42:03 +00:00
Jim Meyering 9741a40764 add a bunch more tests 2005-08-13 14:41:39 +00:00
Jim Meyering a6f5fa497d move a handful of tests to ../misc/date 2005-08-13 14:33:48 +00:00
Jim Meyering 75c40d536f more tests translated from ../date/Test.pm 2005-08-13 14:33:33 +00:00
Jim Meyering 0b20b31116 (TESTS): Add date. 2005-08-13 14:08:26 +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