diff options
Diffstat (limited to 'deps/openssl/openssl/test/recipes/80-test_cmp_http.t')
-rw-r--r-- | deps/openssl/openssl/test/recipes/80-test_cmp_http.t | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/openssl/openssl/test/recipes/80-test_cmp_http.t b/deps/openssl/openssl/test/recipes/80-test_cmp_http.t index 92f11e8ac8a..0ca547354fc 100644 --- a/deps/openssl/openssl/test/recipes/80-test_cmp_http.t +++ b/deps/openssl/openssl/test/recipes/80-test_cmp_http.t @@ -1,5 +1,5 @@ #! /usr/bin/env perl -# Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved. +# Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved. # Copyright Nokia 2007-2019 # Copyright Siemens AG 2015-2019 # @@ -170,8 +170,8 @@ sub test_cmp_http_aspect { # from $BLDTOP/test-runs/test_cmp_http and prepending the input files by SRCTOP. indir data_dir() => sub { - plan tests => @server_configurations * @all_aspects - + (grep(/^Mock$/, @server_configurations) + plan tests => 1 + @server_configurations * @all_aspects + - (grep(/^Mock$/, @server_configurations) && grep(/^certstatus$/, @all_aspects)); foreach my $server_name (@server_configurations) { @@ -196,6 +196,7 @@ indir data_dir() => sub { }; }; stop_mock_server($pid) if $pid; + ok(1, "killing mock server"); } } }; @@ -293,4 +294,5 @@ sub stop_mock_server { my $pid = $_[0]; print "Killing mock server with pid=$pid\n"; kill('KILL', $pid); + waitpid($pid, 0); } |