Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update src/libraries/System.Formats.Tar/tests/TarWriter/TarWriter.Wri…
…teEntry.Tests.cs
  • Loading branch information
jozkee authored and github-actions committed Sep 9, 2022
commit 04d14e5ac67bb2511e79606801e0d221df1a9b19
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,7 @@ public void WriteTimestampsBeyondOctalLimit(TarEntryFormat format)

[Theory]
[InlineData(TarEntryFormat.V7)]
// On reading, ustar just combines prefix(155) + '/' + name(100), which may be wrong but that's how it currently is.
// On writing, it writes the first 100 chars of entryName on name and the next 155 on prefix, so it is flipping the name+prefix on reading.
//[InlineData(TarEntryFormat.Ustar)]
// [InlineData(TarEntryFormat.Ustar)] https://github.com/dotnet/runtime/issues/75360
[InlineData(TarEntryFormat.Pax)]
[InlineData(TarEntryFormat.Gnu)]
public void WriteLongName(TarEntryFormat format)
Expand Down