diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2016-09-08 01:00:23 -0400 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2016-09-08 01:00:23 -0400 |
commit | c6389a1340cdc2a74dbbba5db13df009ada3c04c (patch) | |
tree | e23ca62fded79ce66a6e3400764f511affedc358 /tests/local.mk | |
parent | d47090d964d31bb4af9872525275372efd3bfdce (diff) | |
download | coreutils-c6389a1340cdc2a74dbbba5db13df009ada3c04c.tar.xz |
date: add '--debug' option
Usage example:
date --debug -d 'now + 3 days'
Print parsing and debugging information to stderr when using date's
-d/--date option.
See: http://lists.gnu.org/archive/html/coreutils/2016-01/msg00076.html
* src/date.c (main): Add '--debug' option, enable debugging
in gnulib's parse-datetime.y module.
* tests/misc/date.pl: Repeat tests with '--debug' enable, ensure
no regression.
* tests/misc/date-debug.sh: Test output of '--debug' option.
* tests/local.mk: Add above test.
* NEWS: Mention new option.
* doc/coreutils.texi: Likewise.
Diffstat (limited to 'tests/local.mk')
-rw-r--r-- | tests/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk index 889142af4..86de37603 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -279,6 +279,7 @@ all_tests = \ tests/misc/csplit-heap.sh \ tests/misc/csplit-io-err.sh \ tests/misc/csplit-suppress-matched.pl \ + tests/misc/date-debug.sh \ tests/misc/date-sec.sh \ tests/misc/dircolors.pl \ tests/misc/dirname.pl \ |