Compare commits

...

2 Commits

Author SHA1 Message Date
David von Oheimb 97d25e1848
Merge 24ceef4fc4 into 296f1f6dd8 2025-07-31 06:55:00 +01:00
Dr. David von Oheimb 24ceef4fc4 25-test_verify.t: fix partly case-sensitive matching for Windows OS: s/MsWin32/MSWin32/
Fixes #27984
2025-07-26 10:57:31 +02:00
1 changed files with 3 additions and 1 deletions

View File

@ -602,14 +602,16 @@ 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");
ok(vfy_root("-CAstore", "file:".$foo_file), "CAstore file:foo:file");
}
my $foo_file = "cert.pem";
copy($rootcert, $foo_file);
ok(vfy_root("-CAstore", $foo_file), "CAstore foo:file");