80-test_cmp_http.t: fix adaption of plan on 'certstatus' aspect of Mock server
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sun, 24 Jul 2022 20:44:13 +0000 (22:44 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 26 Jul 2022 14:21:40 +0000 (16:21 +0200)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18858)

test/recipes/80-test_cmp_http.t

index 02ec2bb9a4931bbb08b8db21305704ee6b774506..a8354a0c153153cc63d90441f9b3594e0e04ed67 100644 (file)
@@ -171,7 +171,7 @@ sub test_cmp_http_aspect {
 
 indir data_dir() => sub {
     plan tests => 1 + @server_configurations * @all_aspects
-        + (grep(/^Mock$/, @server_configurations)
+        - (grep(/^Mock$/, @server_configurations)
            && grep(/^certstatus$/, @all_aspects));
 
     foreach my $server_name (@server_configurations) {