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:
parent
fb3e85e1dc
commit
6f402eb3cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262962
@ -6,6 +6,8 @@ NCAL="${CAL_BIN} -N"
|
|||||||
YEARS="2008 2009 2010 2011"
|
YEARS="2008 2009 2010 2011"
|
||||||
ONEYEAR="2009"
|
ONEYEAR="2009"
|
||||||
|
|
||||||
|
echo 1..89
|
||||||
|
|
||||||
REGRESSION_START($1)
|
REGRESSION_START($1)
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -15,8 +17,6 @@ REGRESSION_START($1)
|
|||||||
|
|
||||||
# Full year calendars
|
# Full year calendars
|
||||||
|
|
||||||
echo 1..16
|
|
||||||
|
|
||||||
for y in ${YEARS}; do
|
for y in ${YEARS}; do
|
||||||
# Regular calendar, Month days, No-highlight
|
# Regular calendar, Month days, No-highlight
|
||||||
REGRESSION_TEST(`r-y${y}-md-nhl', `$NCAL -h ${y}')
|
REGRESSION_TEST(`r-y${y}-md-nhl', `$NCAL -h ${y}')
|
||||||
@ -30,8 +30,6 @@ done
|
|||||||
|
|
||||||
# 3 month calendars
|
# 3 month calendars
|
||||||
|
|
||||||
echo 17 .. 29
|
|
||||||
|
|
||||||
for m in $(jot -w %02d 12); do
|
for m in $(jot -w %02d 12); do
|
||||||
# Regular calendar, Month days, No-highlight
|
# Regular calendar, Month days, No-highlight
|
||||||
REGRESSION_TEST(`r-3m${ONEYEAR}${m}-md-nhl',
|
REGRESSION_TEST(`r-3m${ONEYEAR}${m}-md-nhl',
|
||||||
|
Loading…
Reference in New Issue
Block a user