diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 4a54190a252c2..94e37b22703be 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -166,9 +166,9 @@ https://github.com/dotnet/runtime-assets 42999f1b16859553727672ef4087742aab7be681 - + https://github.com/dotnet/runtime-assets - 42999f1b16859553727672ef4087742aab7be681 + a6e2984f63e3809fcdc607bc88bbf257a6c6b4e4 https://github.com/dotnet/runtime-assets diff --git a/eng/Versions.props b/eng/Versions.props index 39226f308c2fb..c6f449dd895cc 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -145,7 +145,7 @@ 7.0.0-beta.22531.1 7.0.0-beta.22531.1 7.0.0-beta.22531.1 - 7.0.0-beta.22531.1 + 7.0.0-beta.22552.1 7.0.0-beta.22531.1 7.0.0-beta.22531.1 7.0.0-beta.22531.1 diff --git a/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.Stream.Tests.cs b/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.Stream.Tests.cs index 82c37fb0dd0a7..ec32ab1ab8136 100644 --- a/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.Stream.Tests.cs +++ b/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.Stream.Tests.cs @@ -102,7 +102,7 @@ public async Task ExtractEntry_DockerImageTarWithFileTypeInDirectoriesInMode_Suc { using (TempDirectory root = new TempDirectory()) { - await using MemoryStream archiveStream = GetTarMemoryStream(CompressionMethod.Uncompressed, "golang_tar", "docker-hello-world"); + await using MemoryStream archiveStream = GetTarMemoryStream(CompressionMethod.Uncompressed, "misc", "docker-hello-world"); await TarFile.ExtractToDirectoryAsync(archiveStream, root.Path, overwriteFiles: true); Assert.True(File.Exists(Path.Join(root.Path, "manifest.json"))); diff --git a/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.File.Tests.cs b/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.File.Tests.cs index 17c67423c390b..6b5dae94caf6b 100644 --- a/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.File.Tests.cs +++ b/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.File.Tests.cs @@ -241,6 +241,14 @@ public void Throw_SingleExtendedAttributesEntryWithNoActualEntry() Assert.Throws(() => reader.GetNextEntry()); } + [Fact] + public void ReadDataStreamOfGoLangTarGzGnu() + { + using MemoryStream archiveStream = GetTarMemoryStream(CompressionMethod.GZip, "golang_tar", "pax-bad-hdr-large"); + using GZipStream decompressor = new GZipStream(archiveStream, CompressionMode.Decompress); + VerifyDataStreamOfTarInternal(decompressor, copyData: false); + } + [Theory] [InlineData("tar-rs", "spaces")] [InlineData("golang_tar", "v7")]