Skip to content

Commit

Permalink
Merge pull request oasis-tcs#712 from tschmidtb51/tests
Browse files Browse the repository at this point in the history
CPE tests
  • Loading branch information
tschmidtb51 committed Mar 27, 2024
2 parents 4af77eb + fc1d790 commit 125879b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csaf_2.0/test/cpe/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ get_dictionary() {
prepare_23_dictionary() {
# Get CPE 2.3 fields
# Correctly decode special characters
grep '<cpe-23:cpe23-item name=' "$CPE".xml | sed -e 's/^.*<cpe-23:cpe23-item name="//' -e 's/"\/>$//' \
grep '<cpe-23:cpe23-item name=' "$CPE".xml | sed -e 's/^.*<cpe-23:cpe23-item name="//' -e 's/"\/\?>$//' \
| sed -e 's/\\&amp;/\\\&/g' \
| sed -e 's/\\&quot;/\\"/g' \
> "$CPE".txt
Expand Down

0 comments on commit 125879b

Please sign in to comment.