Fix ncal tests so that they run cleanly with prove.

Basically just make the test plan match what is actually being run.
This commit is contained in:
Julio Merino 2014-03-09 22:16:39 +00:00
parent fb3e85e1dc
commit 6f402eb3cc

View File

@ -6,6 +6,8 @@ NCAL="${CAL_BIN} -N"
YEARS="2008 2009 2010 2011"
ONEYEAR="2009"
echo 1..89
REGRESSION_START($1)
#
@ -15,8 +17,6 @@ REGRESSION_START($1)
# Full year calendars
echo 1..16
for y in ${YEARS}; do
# Regular calendar, Month days, No-highlight
REGRESSION_TEST(`r-y${y}-md-nhl', `$NCAL -h ${y}')
@ -30,8 +30,6 @@ done
# 3 month calendars
echo 17 .. 29
for m in $(jot -w %02d 12); do
# Regular calendar, Month days, No-highlight
REGRESSION_TEST(`r-3m${ONEYEAR}${m}-md-nhl',