]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
25-test_verify.t: fix partly case-sensitive matching for Windows OS: s/MsWin32/MSWin32/
authorDr. David von Oheimb <dev@ddvo.net>
Sat, 26 Jul 2025 08:46:21 +0000 (10:46 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 17 Sep 2025 06:37:59 +0000 (08:37 +0200)
Fixes #27984

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28098)

(cherry picked from commit ee16664f6a1887048638e3d645fac38fb9c7f0d2)

test/recipes/25-test_verify.t

index 271f499690bffa8a61605bb4d484769989eac480..20389173fc7f23d9ee7a06cc75675382dbfa38be 100644 (file)
@@ -602,9 +602,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");