summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/weeknum
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cal/weeknum')
-rwxr-xr-xtests/ts/cal/weeknum4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ts/cal/weeknum b/tests/ts/cal/weeknum
index a3de709c9..0bea00de1 100755
--- a/tests/ts/cal/weeknum
+++ b/tests/ts/cal/weeknum
@@ -21,6 +21,8 @@ TS_DESC="week number corner cases"
. $TS_TOPDIR/functions.sh
ts_init "$*"
+ts_check_test_command "$TS_CMD_CAL"
+
set -o pipefail
export TERM=linux
@@ -29,7 +31,7 @@ USETERM=$( ts_has_option "useterm" "$*" )
[ "$USETERM" == "yes" ] && TS_VERBOSE="yes"
ts_log ""
-for x in 2001 2002 2003 2009 2010 2011 2012 ; do
+for x in 2001 2002 2003 2009 2010 2011 2012 ; do
MYTIME="1 $x"
ts_log "Gregorian - Monday-based week with week numbers - year $x"