Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void UnixExtractFilePermissionsCompat(string zipName, string expectedPerm
}

[Fact]
[PlatformSpecific(TestPlatforms.AnyUnix & ~TestPlatforms.Browser)]
[PlatformSpecific(TestPlatforms.AnyUnix & ~TestPlatforms.Browser & ~TestPlatforms.tvOS & ~TestPlatforms.iOS)]
public async Task CanZipNamedPipe()
{
string destPath = Path.Combine(TestDirectory, "dest.zip");
Expand All @@ -155,7 +155,7 @@ public async Task CanZipNamedPipe()
await Task.WhenAll(
Task.Run(() =>
{
using FileStream fs = new (fifoPath, FileMode.Open, FileAccess.Write, FileShare.Read);
using FileStream fs = new (fifoPath, FileMode.Open, FileAccess.Write, FileShare.Read, bufferSize: 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated to iOS and instead for my comments on the previous PR? Just confirming.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated to iOS and instead for my comments on the previous PR? Just confirming.

Yes, exactly. I did not want to send a new PR for this small change so I've used the test failure as an opportunity to address the old feedback as well.

foreach (byte content in contentBytes)
{
fs.WriteByte(content);
Expand Down