]> git.ipfire.org Git - thirdparty/bird.git/commit
Printf test suite fails on systems with musl libc because tests for "%m"
authorPetr Vaněk <arkamar@atlas.cz>
Mon, 6 Mar 2023 10:19:30 +0000 (11:19 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Mon, 6 Mar 2023 10:33:27 +0000 (11:33 +0100)
commit0f679438f36d8c2a31dfe490007e983b085caef6
treebb64f011f6e8ec98d6cf9b4bb0d6511da25d8166
parent2f080b543296aa2fa18bf7451b5174d942b0a952
Printf test suite fails on systems with musl libc because tests for "%m"
and "%M" formats expect "Input/output error" message but musl returns
"I/O error". Proposed change compares the printf output with string
returned from strerror function for EIO constant.

See-also: https://bugs.gentoo.org/836713

Minor change from committer.
lib/printf_test.c