Skip to content

Commit f854d8d

Browse files
Numpsypiksel
authored andcommitted
Merge PR #313: Add quotes around the path to the test file when invoking 7-zip in the tests
1 parent 82855a2 commit f854d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/ICSharpCode.SharpZipLib.Tests/Zip/ZipEncryptionHandling.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void CreateZipWithEncryptedEntries(string password, int keySize)
181181
ms.CopyTo(fs);
182182
}
183183

184-
var p = Process.Start(path7z, $"t -p{password} {fileName}");
184+
var p = Process.Start(path7z, $"t -p{password} \"{fileName}\"");
185185
if (!p.WaitForExit(2000))
186186
{
187187
Assert.Warn("Timed out verifying zip file!");

0 commit comments

Comments
 (0)