diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index da4fbb5adfe08..30daaee6301ba 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -166,9 +166,9 @@ https://github.com/dotnet/runtime-assets b01aa5cb4e2b16f4259f13b92b450fb9b616a826 - + https://github.com/dotnet/runtime-assets - b01aa5cb4e2b16f4259f13b92b450fb9b616a826 + a6e2984f63e3809fcdc607bc88bbf257a6c6b4e4 https://github.com/dotnet/runtime-assets diff --git a/eng/Versions.props b/eng/Versions.props index 0069178e2b349..372be14851e0a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -145,7 +145,7 @@ 7.0.0-beta.22524.1 7.0.0-beta.22524.1 7.0.0-beta.22524.1 - 7.0.0-beta.22524.1 + 7.0.0-beta.22552.1 7.0.0-beta.22524.1 7.0.0-beta.22524.1 7.0.0-beta.22524.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..8705fe47a5ad9 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 ReadDataStreamOfGoLangTarTarGzGnu() + { + 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")]