bug#79118: CI test failures

Collin Funk <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
Hi Bruno,

Bruno Haible via GNU coreutils Bug Reports <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.