]> git.ipfire.org Git - thirdparty/openssl.git/commit
TEST: skip POSIX errcode zero in tesst/recipes/02-test_errstr.t
authorRichard Levitte <levitte@openssl.org>
Sun, 6 Sep 2020 06:51:32 +0000 (08:51 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 12 Sep 2020 01:51:21 +0000 (03:51 +0200)
commitc88f6f0e408328e13e9ad61b9658114cddbaba92
treea946758af31f48e8b64f5634671ec7a17dd4ac2d
parentc9352933fe3b383a0208430183b44a0d43f70a04
TEST: skip POSIX errcode zero in tesst/recipes/02-test_errstr.t

On most systems, there is no E macro for errcode zero in <errno.h>,
which means that it seldom comes up here.  However, reports indicate
that some platforms do have an E macro for errcode zero.
With perl, errcode zero is a bit special.  Perl consistently gives
the empty string for that one, while the C strerror() may give back
something else.  The easiest way to deal with that possible mismatch
is to skip this errcode.

Fixes #12798

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12799)
test/recipes/02-test_errstr.t