Hi Bruno,

Bruno Haible via GNU coreutils Bug Reports <bug-coreutils@gnu.org>
writes:

> Today's CI run reports that the new tests
>   tests/date/date-ethiopia
>   tests/date/date-iran
>   tests/date/date-thailand
> fail on OpenBSD and macOS.

Thanks for the report. I'll fix them later today.

> On OpenBSD, that's expected, because gnulib/lib/strftime.c does not
> enable the non-Gregorian calendars on that system (because retrieving
> the locale name on OpenBSD pulls in too many dependencies).

Ah, okay. I would have expected it to SKIP if the locale is not
supported. But I guess they are supported on OpenBSD, just nstrftime
does not handle them.

> + case $(date --iso-8601=hours) in
> ++ date --iso-8601=hours
> + fail=1
> + case $(date --rfc-3339=date) in
> ++ date --rfc-3339=date
> + fail=1
> + Exit 1
> [...]
> + case $(date --iso-8601=hours) in
> ++ date --iso-8601=hours
> + fail=1
> + case $(date --rfc-3339=date) in
> ++ date --rfc-3339=date
> + fail=1

My guess is that `date ...` or a separate assignment will be needed
here. Will experiment later.

Collin



Reply via email to