summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-11-27 07:51:44 +0000
committerRichard Levitte <levitte@openssl.org>2018-11-27 09:01:35 +0000
commitf1d49ed94707f5f0799541aa8e528dce67712948 (patch)
tree73c689f069c118c51aa57cf65768c35548b9ccd6 /test
parent5a4481f0e0bbf836c7f41805e84617784cb6b1db (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)
Diffstat (limited to 'test')
-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}};