summaryrefslogtreecommitdiff
path: root/test/recipes/80-test_ssl_new.t
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-08-02 11:19:07 +0200
committerRichard Levitte <levitte@openssl.org>2016-08-02 11:37:38 +0200
commitf4947bf10ed505f54dcae11fd028a3ec98ee4f3b (patch)
treecd293ba5e0713bebb549634bd9cdf93b05a8908e /test/recipes/80-test_ssl_new.t
parentee94aeee7d3e246adae59e1d0b2a59acc44ae9b5 (diff)
downloadopenssl-new-f4947bf10ed505f54dcae11fd028a3ec98ee4f3b.tar.gz
In 80-test_ssl_new, more "plan tests" to a more useful position
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test/recipes/80-test_ssl_new.t')
-rw-r--r--test/recipes/80-test_ssl_new.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/recipes/80-test_ssl_new.t b/test/recipes/80-test_ssl_new.t
index 29aa9508cd..941ace7b72 100644
--- a/test/recipes/80-test_ssl_new.t
+++ b/test/recipes/80-test_ssl_new.t
@@ -26,6 +26,10 @@ map { s/;.*// } @conf_srcs if $^O eq "VMS";
my @conf_files = map { basename($_) } @conf_srcs;
map { s/\.in// } @conf_files;
+# We hard-code the number of tests to double-check that the globbing above
+# finds all files as expected.
+plan tests => 11; # = scalar @conf_srcs
+
# Some test results depend on the configuration of enabled protocols. We only
# verify generated sources in the default configuration.
my $is_default_tls = (disabled("ssl3") && !disabled("tls1") &&
@@ -62,10 +66,6 @@ foreach my $conf (@conf_files) {
}
}
-# We hard-code the number of tests to double-check that the globbing above
-# finds all files as expected.
-plan tests => 11; # = scalar @conf_srcs
-
sub test_conf {
plan tests => 3;