From 6f402eb3ccf38df2729045e0328a32b0af43439c Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Sun, 9 Mar 2014 22:16:39 +0000 Subject: [PATCH] Fix ncal tests so that they run cleanly with prove. Basically just make the test plan match what is actually being run. --- tools/regression/usr.bin/ncal/regress.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/regression/usr.bin/ncal/regress.sh b/tools/regression/usr.bin/ncal/regress.sh index 3dc188db97a3..709744f49651 100644 --- a/tools/regression/usr.bin/ncal/regress.sh +++ b/tools/regression/usr.bin/ncal/regress.sh @@ -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',