Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit af32a21

Browse files
committed
Fix casing on the file to load in LoadCertificateFromFile
It is "MS.cer" in the testdata package. This passed on Windows non-POSIX filesystems, but caused a failure for the wrong reason when trying to use the tests for TDD on Unix.
1 parent 3ffbbbb commit af32a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Security.Cryptography.X509Certificates/tests/LoadFromFileTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public static void TestLoadSignedFile()
152152

153153
private static X509Certificate2 LoadCertificateFromFile()
154154
{
155-
string path = Path.Combine("TestData", "Ms.cer");
155+
string path = Path.Combine("TestData", "MS.cer");
156156
if (!File.Exists(path))
157157
throw new Exception(string.Format("Test infrastructure failure: Expected to find file \"{0}\".", path));
158158
byte[] data = File.ReadAllBytes(path);

0 commit comments

Comments
 (0)