diff options
author | Sami Kerola | 2014-01-15 21:15:52 +0100 |
---|---|---|
committer | Karel Zak | 2014-02-06 16:55:25 +0100 |
commit | d64dde93a27824575591a727ccc6a341e016c69d (patch) | |
tree | b61bddcf2b89ed7cf05a9f3a1a3604aa840d4079 /tests/ts/cal/bigyear | |
parent | cal: limit year to 32 bit value (diff) | |
download | kernel-qcow2-util-linux-d64dde93a27824575591a727ccc6a341e016c69d.tar.gz kernel-qcow2-util-linux-d64dde93a27824575591a727ccc6a341e016c69d.tar.xz kernel-qcow2-util-linux-d64dde93a27824575591a727ccc6a341e016c69d.zip |
tests: cal(1) is year is limited to signed 32 bit value
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/cal/bigyear')
-rwxr-xr-x | tests/ts/cal/bigyear | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ts/cal/bigyear b/tests/ts/cal/bigyear index c01bf08c2..e1f4a85f4 100755 --- a/tests/ts/cal/bigyear +++ b/tests/ts/cal/bigyear @@ -13,7 +13,7 @@ # GNU General Public License for more details. TS_TOPDIR="$(dirname $0)/../.." -TS_DESC="Year 1234567890123456789" +TS_DESC="Year 2147483646" . $TS_TOPDIR/functions.sh ts_init "$*" @@ -22,8 +22,8 @@ set -o pipefail export TERM=linux USETERM=$( ts_has_option "useterm" "$*" ) -MYMONTH="12 1234567890123456789" -MYYEAR="1234567890123456789" +MYMONTH="12 2147483646" +MYYEAR="2147483646" [ "$USETERM" == "yes" ] && TS_VERBOSE="yes" ts_log "" |