regress.sh revision 170231
1281760Ssjg# $FreeBSD: head/tools/regression/usr.bin/calendar/regress.sh 170231 2007-06-03 03:29:32Z grog $ 2281760Ssjg 3281760SsjgCALENDAR_FILE="-f calendar.calibrate" 4281760SsjgCALENDAR_BIN="calendar" 5 6CALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}" 7 8REGRESSION_START($1) 9 10echo 1..4 11 12REGRESSION_TEST(`s1',`$CALENDAR -t 29.12.2006') 13REGRESSION_TEST(`s2',`$CALENDAR -t 30.12.2006') 14REGRESSION_TEST(`s3',`$CALENDAR -t 31.12.2006') 15REGRESSION_TEST(`s4',`$CALENDAR -t 01.01.2007') 16 17echo 5..9 18 19REGRESSION_TEST(`a1',`$CALENDAR -A 3 -t 28.12.2006') 20REGRESSION_TEST(`a2',`$CALENDAR -A 3 -t 29.12.2006') 21REGRESSION_TEST(`a3',`$CALENDAR -A 3 -t 30.12.2006') 22REGRESSION_TEST(`a4',`$CALENDAR -A 3 -t 31.12.2006') 23REGRESSION_TEST(`a5',`$CALENDAR -A 3 -t 01.01.2007') 24 25echo 10..14 26 27REGRESSION_TEST(`b1',`$CALENDAR -B 3 -t 31.12.2006') 28REGRESSION_TEST(`b2',`$CALENDAR -B 3 -t 01.01.2007') 29REGRESSION_TEST(`b3',`$CALENDAR -B 3 -t 02.01.2007') 30REGRESSION_TEST(`b4',`$CALENDAR -B 3 -t 03.01.2007') 31REGRESSION_TEST(`b5',`$CALENDAR -B 3 -t 04.01.2007') 32 33REGRESSION_END() 34