b4f0bcce13
Fix one case where #else was not corerctly processed and simplify the conditions logic. Fix parsing of day and month names in the locale specified in the calendar file. The previous version would expect those names to match the locale of the user. Mention that comments are now correctly processed and that // is supported in addition to /* ... */. MFC after: 3 days
15 lines
233 B
Bash
Executable File
15 lines
233 B
Bash
Executable File
# $FreeBSD$
|
|
|
|
CALENDAR_FILE="-f ${SRCDIR}/calendar.cond"
|
|
CALENDAR_BIN="calendar"
|
|
|
|
CALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}"
|
|
|
|
REGRESSION_START($1)
|
|
|
|
echo 1..1
|
|
|
|
REGRESSION_TEST(`cond',`$CALENDAR -t 01.01.2020 -A 30')
|
|
|
|
REGRESSION_END()
|