Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add additional cyclonedx 1.5 acceptance test
Browse files Browse the repository at this point in the history
paulrosca-snyk committed Feb 16, 2024

Verified

This commit was signed with the committer’s verified signature.
paulrosca-snyk Paul Rosca
1 parent c2d9dd6 commit ce1052f
Showing 2 changed files with 57,874 additions and 0 deletions.
5 changes: 5 additions & 0 deletions acceptance.bats
Original file line number Diff line number Diff line change
@@ -5,6 +5,11 @@
[ "$status" -eq 0 ]
}

@test "Not fail when testing a JavaScript CycloneDX1.5 SBOM" {
run ./parlay ecosystems enrich testing/sbom.cyclonedx-1.5.json
[ "$status" -eq 0 ]
}

@test "Not fail when testing an SBOM on stdin" {
run bash -c "cat testing/sbom.cyclonedx.json | ./parlay ecosystems enrich -"
[ "$status" -eq 0 ]
57,869 changes: 57,869 additions & 0 deletions testing/sbom.cyclonedx-1.5.json

Large diffs are not rendered by default.

0 comments on commit ce1052f

Please sign in to comment.