提交 89cb61de 编写于 作者: R Richard Levitte 提交者: Richard Levitte

Don't test the collected system errors when configured to not have them

Config options 'no-err' and 'no-autoerrinit'
Reviewed-by: NMatt Caswell <matt@openssl.org>
Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7711)

(cherry picked from commit f1d49ed94707f5f0799541aa8e528dce67712948)
上级 9465e716
......@@ -31,6 +31,9 @@ setup('test_errstr');
plan skip_all => 'This is unsupported for cross compiled configurations'
if config('CROSS_COMPILE');
plan skip_all => 'OpenSSL is configured "no-autoerrinit" or "no-err"'
if disabled('autoerrinit') || disabled('err');
# These are POSIX error names, which Errno implements as functions
# (this is documented)
my @posix_errors = @{$Errno::EXPORT_TAGS{POSIX}};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册