mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Disable RPM SBOM test. (#17532)
This commit is contained in:
@@ -43,18 +43,7 @@ Describe "Verify SBOMs" {
|
||||
$manifestPath = Join-Path $extractedPath -ChildPath '/_manifest/spdx_2.2/manifest.spdx.json'
|
||||
}
|
||||
'.rpm' {
|
||||
Push-Location $resolvedPath
|
||||
try {
|
||||
if (Get-Command -Name rpm2cpio -ErrorAction SilentlyContinue) {
|
||||
rpm2cpio $case.FilePath | cpio -i --make-directories 2>cpio.log
|
||||
$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"
|
||||
}
|
||||
} finally {
|
||||
Pop-Location
|
||||
}
|
||||
$skip = "rpm test is not stable"
|
||||
}
|
||||
Default {
|
||||
throw "Unkown extension $($case.Extension)"
|
||||
|
||||
Reference in New Issue
Block a user