Skip to content

Commit

Permalink
Correct issuse with sbom test
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisEz13 committed Jun 8, 2022
1 parent f60fda7 commit ea4caa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/packaging/releaseTests/sbom.tests.ps1
Expand Up @@ -47,8 +47,8 @@ Describe "Verify SBOMs" {
try {
if (Get-Command -Name rpm2cpio -ErrorAction SilentlyContinue) {
rpm2cpio $case.FilePath | cpio -i --make-directories 2>cpio.log
$manifestPath = Get-ChildItem -Path manifest.spdx.json -Recurse | Select-Object -First 1 -ExpandProperty FullName
$extractedPath = Get-ChildItem -Path system.management.automation.dll -Recurse | Select-Object -First 1 -ExpandProperty DirectoryName
$manifestPath = Join-Path $extractedPath -ChildPath '/_manifest/spdx_2.2/manifest.spdx.json'
} else {
$skip = "rpm2cpio not found"
}
Expand Down

0 comments on commit ea4caa3

Please sign in to comment.