diff options
Diffstat (limited to 'tests/ts/cal/month')
-rwxr-xr-x | tests/ts/cal/month | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/ts/cal/month b/tests/ts/cal/month index 9794e90c0..62fd1f928 100755 --- a/tests/ts/cal/month +++ b/tests/ts/cal/month @@ -22,7 +22,7 @@ TS_DESC="month" . $TS_TOPDIR/functions.sh ts_init "$*" -ts_check_test_command "$TS_CMD_CAL" +ts_check_test_command "$TS_HELPER_CAL" export TERM=linux @@ -33,7 +33,7 @@ CAL_TEST_TIME=1516562739 # 21st January 2018 export CAL_TEST_TIME function call_cal { - local testname=$(echo "$2" | sed 's/-//g') + local testname=$(echo "$2" | sed 's/-//g; s/ //g') ts_init_subtest "$testname" ts_log "$1" @@ -63,5 +63,10 @@ call_cal "Gregorian - Sunday-based week with week numbers" -3sw $MYTIME call_cal "Julian - Monday-based week with week numbers" -3mjw $MYTIME call_cal "Julian - Sunday-based week with week numbers" -3sjw $MYTIME +call_cal "Normal span" "-Sn 3" $MYTIME +call_cal "Large span" "-Sn 21" $MYTIME +call_cal "Very Large span" "-Sn 51" $MYTIME +call_cal "Extreme span" "-Sn 201" $MYTIME + ts_finalize |