summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-11-27 07:51:44 +0000
committerRichard Levitte <richard@levitte.org>2018-11-27 09:03:59 +0000
commit89cb61de2af5f0fb07c86de086d57f20d523f6ba (patch)
tree91c9d588a657cdc641d5d6bb931cf5329b36f88e
parent9465e716398ea13391aa7a0c93f10abf003245c0 (diff)
Don't test the collected system errors when configured to not have them
Config options 'no-err' and 'no-autoerrinit' Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7711) (cherry picked from commit f1d49ed94707f5f0799541aa8e528dce67712948)
-rw-r--r--test/recipes/02-test_errstr.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/recipes/02-test_errstr.t b/test/recipes/02-test_errstr.t
index 745c3c0e72..ef5e2fa357 100644
--- a/test/recipes/02-test_errstr.t
+++ b/test/recipes/02-test_errstr.t
@@ -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}};