diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-29 14:36:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-29 14:36:48 +0000 |
commit | 13bc9dcc35aa51656b876851001dce3373003aca (patch) | |
tree | 848509302f32faf8d510017a22cbb9a04acfa0de /tests/date/Test.pm | |
parent | 6b840273e06ecde99a71dd4c64f45fb610d22283 (diff) | |
download | coreutils-13bc9dcc35aa51656b876851001dce3373003aca.tar.xz |
(test_vector): Add tests for use of `this'.
Diffstat (limited to 'tests/date/Test.pm')
-rw-r--r-- | tests/date/Test.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/date/Test.pm b/tests/date/Test.pm index c2450c107..49bee6ab7 100644 --- a/tests/date/Test.pm +++ b/tests/date/Test.pm @@ -105,6 +105,12 @@ sub test_vector ['sec2date-0', "-d '1970-01-01 UTC 946684800 sec' +'%Y-%m-%d %T %z'", {}, "2000-01-01 00:00:00 +0000", 0], + ['this-m', "-d '$d0 $t0 this minute' $fmt", {}, "$d0 $t0", 0], + ['this-h', "-d '$d0 $t0 this hour' $fmt", {}, "$d0 $t0", 0], + ['this-w', "-d '$d0 $t0 this week' $fmt", {}, "$d0 $t0", 0], + ['this-mo', "-d '$d0 $t0 this month' $fmt", {}, "$d0 $t0", 0], + ['this-y', "-d '$d0 $t0 this year' $fmt", {}, "$d0 $t0", 0], + # FIXME: add a lot more... ); |