openssl/skip-some-test-cases.patch
2024-06-20 09:55:47 +08:00

55 lines
2.3 KiB
Diff

From 5124746fa816d955be121adef92b4ff349db34b2 Mon Sep 17 00:00:00 2001
From: hzero1996 <wangcheng156@huawei.com>
Date: Tue, 15 Feb 2022 16:23:29 +0800
Subject: [PATCH] skip some test cases
---
test/recipes/80-test_ssl_new.t | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/test/recipes/80-test_ssl_new.t b/test/recipes/80-test_ssl_new.t
index 81d8f59..0a45d80 100644
--- a/test/recipes/80-test_ssl_new.t
+++ b/test/recipes/80-test_ssl_new.t
@@ -76,12 +76,13 @@ my %conf_dependent_tests = (
# configurations. Default is $no_tls but some tests have different skip
# conditions.
my %skip = (
+ "04-client_auth.conf" => 1,
"06-sni-ticket.conf" => $no_tls_below1_3,
- "07-dtls-protocol-version.conf" => $no_dtls,
+ "07-dtls-protocol-version.conf" => $no_dtls || 1,
"08-npn.conf" => (disabled("tls1") && disabled("tls1_1")
&& disabled("tls1_2")) || $no_npn,
"10-resumption.conf" => disabled("tls1_1") || disabled("tls1_2"),
- "11-dtls_resumption.conf" => disabled("dtls1") || disabled("dtls1_2"),
+ "11-dtls_resumption.conf" => disabled("dtls1") || disabled("dtls1_2") || 1,
"12-ct.conf" => $no_tls || $no_ct || $no_ec,
# We could run some of these tests without TLS 1.2 if we had a per-test
# disable instruction but that's a bizarre configuration not worth
@@ -90,9 +91,9 @@ my %skip = (
"13-fragmentation.conf" => disabled("tls1_2"),
"14-curves.conf" => disabled("tls1_2") || $no_ec || $no_ec2m,
"15-certstatus.conf" => $no_tls || $no_ocsp,
- "16-dtls-certstatus.conf" => $no_dtls || $no_ocsp,
+ "16-dtls-certstatus.conf" => $no_dtls || $no_ocsp || 1,
"17-renegotiate.conf" => $no_tls_below1_3,
- "18-dtls-renegotiate.conf" => $no_dtls,
+ "18-dtls-renegotiate.conf" => $no_dtls || 1,
"19-mac-then-encrypt.conf" => $no_pre_tls1_3,
"20-cert-select.conf" => disabled("tls1_2") || $no_ec,
"21-key-update.conf" => disabled("tls1_3"),
@@ -102,7 +103,7 @@ my %skip = (
"24-padding.conf" => disabled("tls1_3"),
"25-cipher.conf" => disabled("ec") || disabled("tls1_2"),
"26-tls13_client_auth.conf" => disabled("tls1_3"),
- "29-dtls-sctp-label-bug.conf" => disabled("sctp") || disabled("sock"),
+ "29-dtls-sctp-label-bug.conf" => disabled("sctp") || disabled("sock") || 1,
);
foreach my $conf (@conf_files) {
--
2.27.0