Fix tarball extraction when using wildcards (#15695)

This commit is contained in:
Matt Thalman 2023-03-03 09:47:25 -06:00 committed by GitHub
parent 04c9d382e3
commit 9bd65f4d78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,6 @@ public class SourceBuiltArtifactsTests : SmokeTests
private void ExtractFileFromTarball(string tarballPath, string filePath, string outputDir)
{
ExecuteHelper.ExecuteProcessValidateExitCode("tar", $"xzf {tarballPath} -C {outputDir} {filePath}", OutputHelper);
ExecuteHelper.ExecuteProcessValidateExitCode("tar", $"--wildcards -xzf {tarballPath} -C {outputDir} {filePath}", OutputHelper);
}
}