regress.sh revision 302408
1263320Sdim# $FreeBSD: stable/11/usr.bin/calendar/tests/regress.sh 263227 2014-03-16 08:04:06Z jmmv $ 2263320Sdim 3263320SdimCALENDAR_FILE="-f ${SRCDIR}/calendar.calibrate" 4263320SdimCALENDAR_BIN="calendar" 5263320Sdim 6263320SdimCALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}" 7263320Sdim 8263320SdimREGRESSION_START($1) 9263320Sdim 10263320Sdimecho 1..28 11263320Sdim 12263320SdimREGRESSION_TEST(`s1',`$CALENDAR -t 29.12.2006') 13263320SdimREGRESSION_TEST(`s2',`$CALENDAR -t 30.12.2006') 14263320SdimREGRESSION_TEST(`s3',`$CALENDAR -t 31.12.2006') 15263320SdimREGRESSION_TEST(`s4',`$CALENDAR -t 01.01.2007') 16263320Sdim 17263320SdimREGRESSION_TEST(`a1',`$CALENDAR -A 3 -t 28.12.2006') 18263320SdimREGRESSION_TEST(`a2',`$CALENDAR -A 3 -t 29.12.2006') 19263320SdimREGRESSION_TEST(`a3',`$CALENDAR -A 3 -t 30.12.2006') 20263320SdimREGRESSION_TEST(`a4',`$CALENDAR -A 3 -t 31.12.2006') 21263320SdimREGRESSION_TEST(`a5',`$CALENDAR -A 3 -t 01.01.2007') 22263320Sdim 23263320SdimREGRESSION_TEST(`b1',`$CALENDAR -B 3 -t 31.12.2006') 24263320SdimREGRESSION_TEST(`b2',`$CALENDAR -B 3 -t 01.01.2007') 25263320SdimREGRESSION_TEST(`b3',`$CALENDAR -B 3 -t 02.01.2007') 26263320SdimREGRESSION_TEST(`b4',`$CALENDAR -B 3 -t 03.01.2007') 27263320SdimREGRESSION_TEST(`b5',`$CALENDAR -B 3 -t 04.01.2007') 28263320Sdim 29263320SdimREGRESSION_TEST(`w0-1',`$CALENDAR -W 0 -t 28.12.2006') 30263320SdimREGRESSION_TEST(`w0-2',`$CALENDAR -W 0 -t 29.12.2006') 31263320SdimREGRESSION_TEST(`w0-3',`$CALENDAR -W 0 -t 30.12.2006') 32263320SdimREGRESSION_TEST(`w0-4',`$CALENDAR -W 0 -t 31.12.2006') 33263320SdimREGRESSION_TEST(`w0-5',`$CALENDAR -W 0 -t 01.01.2007') 34263320SdimREGRESSION_TEST(`w0-6',`$CALENDAR -W 0 -t 02.01.2007') 35263320SdimREGRESSION_TEST(`w0-7',`$CALENDAR -W 0 -t 03.01.2007') 36263320Sdim 37263320SdimREGRESSION_TEST(`wn-1',`$CALENDAR -W 0 -t 28.12.2006') 38263320SdimREGRESSION_TEST(`wn-2',`$CALENDAR -W 1 -t 28.12.2006') 39263320SdimREGRESSION_TEST(`wn-3',`$CALENDAR -W 2 -t 28.12.2006') 40263320SdimREGRESSION_TEST(`wn-4',`$CALENDAR -W 3 -t 28.12.2006') 41263320SdimREGRESSION_TEST(`wn-5',`$CALENDAR -W 4 -t 28.12.2006') 42263320SdimREGRESSION_TEST(`wn-6',`$CALENDAR -W 5 -t 28.12.2006') 43263320SdimREGRESSION_TEST(`wn-7',`$CALENDAR -W 6 -t 28.12.2006') 44263320Sdim 45263320SdimREGRESSION_END() 46263320Sdim