From a4d26436a7e7728e6751b9704b4129196ae7d9d6 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Sat, 26 Jul 2025 10:46:21 +0200 Subject: [PATCH] 25-test_verify.t: fix partly case-sensitive matching for Windows OS: s/MsWin32/MSWin32/ Fixes #27984 Reviewed-by: Matt Caswell Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28098) (cherry picked from commit ee16664f6a1887048638e3d645fac38fb9c7f0d2) --- test/recipes/25-test_verify.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/recipes/25-test_verify.t b/test/recipes/25-test_verify.t index b3767182509..7c53c39b589 100644 --- a/test/recipes/25-test_verify.t +++ b/test/recipes/25-test_verify.t @@ -599,9 +599,10 @@ ok(vfy_root("-CAfile", $rootcert), "CAfile"); ok(vfy_root("-CAstore", $rootcert), "CAstore"); ok(vfy_root("-CAstore", $rootcert, "-CAfile", $rootcert), "CAfile and existing CAstore"); ok(!vfy_root("-CAstore", "non-existing", "-CAfile", $rootcert), "CAfile and non-existing CAstore"); + SKIP: { skip "file names with colons aren't supported on Windows and VMS", 2 - if $^O =~ /^(MsWin32|VMS)$/; + if $^O =~ /^(MSWin32|VMS)$/; my $foo_file = "foo:cert.pem"; copy($rootcert, $foo_file); ok(vfy_root("-CAstore", $foo_file), "CAstore foo:file"); -- 2.47.3