summaryrefslogtreecommitdiff
path: root/tests/misc/date
AgeCommit message (Collapse)Author
2008-02-09tests: factor out the perl-requiring code in many test scriptsJim Meyering
* tests/require-perl: New file. * tests/Makefile.am (EXTRA_DIST): Add require-perl. * tests/dd/skip-seek: Use it, and remove manual tests. * tests/du/files0-from: Likewise. * tests/ls/nameless-uid: Likewise. * tests/misc/base64: Likewise. * tests/misc/basename: Likewise. * tests/misc/cut: Likewise. * tests/misc/date: Likewise. * tests/misc/dircolors: Likewise. * tests/misc/dirname: Likewise. * tests/misc/expand: Likewise. * tests/misc/expr: Likewise. * tests/misc/factor: Likewise. * tests/misc/fmt: Likewise. * tests/misc/fold: Likewise. * tests/misc/head-elide-tail: Likewise. * tests/misc/ls-misc: Likewise. * tests/misc/md5sum: Likewise. * tests/misc/md5sum-newline: Likewise. * tests/misc/mktemp: Likewise. * tests/misc/od: Likewise. * tests/misc/paste-no-nl: Likewise. * tests/misc/pr: Likewise. * tests/misc/pwd-long: Likewise. * tests/misc/seq: Likewise. * tests/misc/sha1sum: Likewise. * tests/misc/sha1sum-vec: Likewise. * tests/misc/sha224sum: Likewise. * tests/misc/sha256sum: Likewise. * tests/misc/sha384sum: Likewise. * tests/misc/sha512sum: Likewise. * tests/misc/sort-merge: Likewise. * tests/misc/stat-printf: Likewise. * tests/misc/sum: Likewise. * tests/misc/sum-sysv: Likewise. * tests/misc/test-diag: Likewise. * tests/misc/tsort: Likewise. * tests/misc/tty-eof: Likewise. * tests/misc/unexpand: Likewise. * tests/misc/wc-files0-from: Likewise. * tests/misc/xstrtol: Likewise. * tests/mv/i-1: Likewise. * tests/rm/empty-name: Likewise. * tests/rm/fail-eperm: Likewise. * tests/rm/unreadable: Likewise. (EXTRA_DIST): *do* require require-perl as a stand-alone, 'source'able script.
2007-11-23Add tests to show new class of strings accepted by date -d.Jim Meyering
* tests/misc/date (rel-1day, rel-plus1): New tests for the recent change in gnulib's getdate.y. * NEWS: Mention the fix.
2007-11-16Port to Solaris 8 perl, which does not support "use warnings;".Paul Eggert
* tests/dd/skip-seek: Skip test if "use warnings;" fails. * tests/du/files0-from: Likewise. * tests/misc/base64: Likewise. * tests/misc/basename: Likewise. * tests/misc/cut: Likewise. * tests/misc/date: Likewise. * tests/misc/dircolors: Likewise. * tests/misc/dirname: Likewise. * tests/misc/expand: Likewise. * tests/misc/expr: Likewise. * tests/misc/factor: Likewise. * tests/misc/fmt: Likewise. * tests/misc/fold: Likewise. * tests/misc/head-elide-tail: Likewise. * tests/misc/ls-misc: Likewise. * tests/misc/md5sum: Likewise. * tests/misc/md5sum-newline: Likewise. * tests/misc/mktemp: Likewise. * tests/misc/od: Likewise. * tests/misc/paste-no-nl: Likewise. * tests/misc/pr: Likewise. * tests/misc/seq: Likewise. * tests/misc/sha1sum: Likewise. * tests/misc/sha1sum-vec: Likewise. * tests/misc/sha224sum: Likewise. * tests/misc/sha256sum: Likewise. * tests/misc/sha384sum: Likewise. * tests/misc/sha512sum: Likewise. * tests/misc/sort-merge: Likewise. * tests/misc/stat-printf: Likewise. * tests/misc/sum: Likewise. * tests/misc/test-diag: Likewise. * tests/misc/tsort: Likewise. * tests/misc/unexpand: Likewise. * tests/misc/wc-files0-from: Likewise. * tests/misc/xstrtol: Likewise. * tests/mv/i-1: Likewise. * tests/rm/empty-name: Likewise. * tests/rm/unreadable: Likewise.
2007-08-18Run each Coreutils.pm-based test in its own subdirectory.Jim Meyering
* tests/CuTmpdir.pm: New file. * tests/Makefile.am (EXTRA_DIST): Add CuTmpdir.pm. * tests/misc/od, tests/misc/base64, tests/misc/basename: * tests/misc/cut, tests/misc/date, tests/misc/dirname: * tests/misc/expand, tests/misc/fold, tests/misc/head-elide-tail: * tests/misc/paste-no-nl, tests/misc/pr, tests/misc/sha224sum: * tests/misc/sha256sum, tests/misc/sha384sum, tests/misc/sha512sum: * tests/misc/sort-merge, tests/misc/stat-printf, tests/misc/test-diag: * tests/misc/wc-files0-from, tests/misc/xstrtol: * tests/dd/skip-seek, tests/dircolors/simple, tests/du/files0-from: * tests/expr/basic, tests/factor/basic, tests/fmt/basic: * tests/ls-2/tests, tests/md5sum/basic-1, tests/md5sum/newline-1: * tests/seq/basic, tests/sha1sum/basic-1, tests/sha1sum/sample-vec: * tests/sum/basic-1, tests/tsort/basic-1, tests/unexpand/basic-1: * tests/mv/i-1, tests/rm/empty-name, tests/rm/unreadable: Use it. * tests/misc/test-diag: Use "$ENV{abs_top_builddir}/src/test", not "../../src/test", so it works when run from a subdirectory. * tests/ls-2/tests: Create temp files and dirs from within the perl script, so that they're removed, when run from a subdirectory.
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2007-02-21* tests/misc/date: Remove vestigial use of Data::Dumper.Jim Meyering
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-04-25(relative-3): New test, derived from a bug report by John Thomas McDole.Paul Eggert
2005-09-24(uninit-64): Restore this test.Jim Meyering
Add start-up code to detect, and work around, the cases in which the test might fail.
2005-09-24(uninit-64): Remove this test. It wasn'tPaul Eggert
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-16(rfc822-1): Compensate for Solaris 5.9's /bin/sh,Jim Meyering
which emits a diagnostic to stderr when this test's LC_ALL=de_DE cannot be honored.
2005-09-16whoops. Update expected output, too.Jim Meyering
2005-09-16(subfmt-up1): Put quotes around format stringJim Meyering
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(subfmt-up1): Test the combination of theJim Meyering
to-upper-case modifier (^) and a conversion specifier that expands to a string containing lower case characters.
2005-09-14(tz-5w, tz-5wf): Test new %:z format with a field width.Jim Meyering
2005-09-14Add tz-1 through tz-5.Paul Eggert
2005-09-13Add tests for --rfc-3339.Paul Eggert
2005-09-09(neg-secs2, fill-1, fill-2): Add new tests.Jim Meyering
2005-08-17Remove terminating "\n"s once again.Jim Meyering
Automatically add them whenever EXIT != 0.
2005-08-17[neg-secs]: New test for today's strftime.c bug fix.Jim Meyering
2005-08-15add commentJim Meyering
2005-08-15use ERR_SUBST to get around fact that the diagnosticJim Meyering
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(uninit-64): New test for today's date.c fix.Jim Meyering
Rewrite all other OUT strings to include the terminating "\n".
2005-08-13convert last batch of testsJim Meyering
2005-08-13Use new ENV and ENV_DEL to support this latest batch of tests fromJim Meyering
tests/date/Test.pm
2005-08-13more tests translated from ../date/Test.pmJim Meyering
2005-08-13add a bunch more testsJim Meyering
2005-08-13more tests translated from ../date/Test.pmJim Meyering
2005-08-13With todays additions, the generated shell script,Jim Meyering
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.