| skipped 1467 lines |
1468 | 1468 | | lse_run_tests_cves() { |
1469 | 1469 | | lse_header "cve" "CVEs" |
1470 | 1470 | | if [ "${#lse_cve_list}" = 1 ]; then |
1471 | | - | echo "In order to test for CVEs, download lse.sh from the GitHub releases page." |
1472 | | - | echo "Alternatively, build lse_cve.sh using tools/package_cvs_into_lse.sh from the repository." |
| 1471 | + | if [ -z "$lse_selection" ] || printf "%s" "$lse_selection" | grep -iq 'cve'; then |
| 1472 | + | printf "%s\n%s\n%s" \ |
| 1473 | + | " In order to test for CVEs, download lse.sh from the GitHub releases page." \ |
| 1474 | + | " Alternatively, build lse_cve.sh using tools/package_cvs_into_lse.sh from the" \ |
| 1475 | + | " repository." |
| 1476 | + | fi |
1473 | 1477 | | else |
1474 | 1478 | | for lse_cve in $lse_cve_list; do |
1475 | 1479 | | eval "$(printf '%s' "$lse_cve" | base64 -d | gunzip -c)" |
| skipped 67 lines |