regress.sh revision 170448
1170231Sgrog# $FreeBSD: head/tools/regression/usr.bin/calendar/regress.sh 170448 2007-06-09 06:01:24Z grog $ 2170231Sgrog 3170231SgrogCALENDAR_FILE="-f calendar.calibrate" 4170231SgrogCALENDAR_BIN="calendar" 5170231Sgrog 6170231SgrogCALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}" 7170231Sgrog 8170231SgrogREGRESSION_START($1) 9170231Sgrog 10170231Sgrogecho 1..4 11170231Sgrog 12170231SgrogREGRESSION_TEST(`s1',`$CALENDAR -t 29.12.2006') 13170231SgrogREGRESSION_TEST(`s2',`$CALENDAR -t 30.12.2006') 14170231SgrogREGRESSION_TEST(`s3',`$CALENDAR -t 31.12.2006') 15170231SgrogREGRESSION_TEST(`s4',`$CALENDAR -t 01.01.2007') 16170231Sgrog 17170231Sgrogecho 5..9 18170231Sgrog 19170231SgrogREGRESSION_TEST(`a1',`$CALENDAR -A 3 -t 28.12.2006') 20170231SgrogREGRESSION_TEST(`a2',`$CALENDAR -A 3 -t 29.12.2006') 21170231SgrogREGRESSION_TEST(`a3',`$CALENDAR -A 3 -t 30.12.2006') 22170231SgrogREGRESSION_TEST(`a4',`$CALENDAR -A 3 -t 31.12.2006') 23170231SgrogREGRESSION_TEST(`a5',`$CALENDAR -A 3 -t 01.01.2007') 24170231Sgrog 25170231Sgrogecho 10..14 26170231Sgrog 27170231SgrogREGRESSION_TEST(`b1',`$CALENDAR -B 3 -t 31.12.2006') 28170231SgrogREGRESSION_TEST(`b2',`$CALENDAR -B 3 -t 01.01.2007') 29170231SgrogREGRESSION_TEST(`b3',`$CALENDAR -B 3 -t 02.01.2007') 30170231SgrogREGRESSION_TEST(`b4',`$CALENDAR -B 3 -t 03.01.2007') 31170231SgrogREGRESSION_TEST(`b5',`$CALENDAR -B 3 -t 04.01.2007') 32170231Sgrog 33170448Sgrogecho 15..21 34170448Sgrog 35170448SgrogREGRESSION_TEST(`w0-1',`$CALENDAR -W 0 -t 28.12.2006') 36170448SgrogREGRESSION_TEST(`w0-2',`$CALENDAR -W 0 -t 29.12.2006') 37170448SgrogREGRESSION_TEST(`w0-3',`$CALENDAR -W 0 -t 30.12.2006') 38170448SgrogREGRESSION_TEST(`w0-4',`$CALENDAR -W 0 -t 31.12.2006') 39170448SgrogREGRESSION_TEST(`w0-5',`$CALENDAR -W 0 -t 01.01.2007') 40170448SgrogREGRESSION_TEST(`w0-6',`$CALENDAR -W 0 -t 02.01.2007') 41170448SgrogREGRESSION_TEST(`w0-7',`$CALENDAR -W 0 -t 03.01.2007') 42170448Sgrog 43170448Sgrogecho 22..28 44170448Sgrog 45170448SgrogREGRESSION_TEST(`wn-1',`$CALENDAR -W 0 -t 28.12.2006') 46170448SgrogREGRESSION_TEST(`wn-2',`$CALENDAR -W 1 -t 28.12.2006') 47170448SgrogREGRESSION_TEST(`wn-3',`$CALENDAR -W 2 -t 28.12.2006') 48170448SgrogREGRESSION_TEST(`wn-4',`$CALENDAR -W 3 -t 28.12.2006') 49170448SgrogREGRESSION_TEST(`wn-5',`$CALENDAR -W 4 -t 28.12.2006') 50170448SgrogREGRESSION_TEST(`wn-6',`$CALENDAR -W 5 -t 28.12.2006') 51170448SgrogREGRESSION_TEST(`wn-7',`$CALENDAR -W 6 -t 28.12.2006') 52170448Sgrog 53170231SgrogREGRESSION_END() 54