summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-01-11 17:20:39 +0100
committerRichard Levitte <levitte@openssl.org>2016-01-11 17:32:17 +0100
commit74b31db68ac5f1fc8d85f8fbd53dc186d0016b0b (patch)
tree5fdcd2b7c437719e2c6994b12d19e19d218e8831
parent8106cb8b6d706079cbcabd4631f05e4526a316e1 (diff)
Only run DANE tests when EC is supported
Since danetest is to test DANE rather than specific algorithms, it's acceptable to require EC when testing it. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
-rw-r--r--test/recipes/80-test_dane.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/recipes/80-test_dane.t b/test/recipes/80-test_dane.t
index 060bfcf541..e0aa524250 100644
--- a/test/recipes/80-test_dane.t
+++ b/test/recipes/80-test_dane.t
@@ -3,9 +3,13 @@
use strict;
use warnings;
use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
+use OpenSSL::Test::Utils;
setup("test_dane");
+plan skip_all => "test_dane uses ec which is not supported by this OpenSSL build"
+ if disabled("ec");
+
plan tests => 1; # The number of tests being performed
ok(run(test(["danetest", "example.com",