File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
plugins/tools/trivy/test/src Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 4040 tool_name=$(basename "$tool_dir")
4141 if [ -d "$tool_dir/test/src" ]; then
4242 echo "Running tests for $tool_name..."
43- ./run-tool-tests.sh "$tool_name" || echo "$tool_name" >> /tmp/failed_tools.txt
43+ ./run-tool-tests.sh "$tool_name"
4444 fi
4545 done
4646
5252 exit 1
5353 else
5454 echo "✅ All tool tests passed successfully!"
55- fi
56-
57- - name : Check test results
58- if : steps.run_tests.outcome == 'failure'
59- run : |
60- if [ -s /tmp/failed_tools.txt ] && [ "$(wc -l < /tmp/failed_tools.txt)" -gt 0 ]; then
61- echo -e "\n❌ The following tools failed their tests:"
62- cat /tmp/failed_tools.txt
63- fi
64- echo "Some tool tests failed. Please check the logs above for details."
65- exit 1
55+ fi
Original file line number Diff line number Diff line change 1111 "rules" : [
1212 {
1313 "id" : " CVE-2024-21538" ,
14- "name" : " LanguageSpecificPackageVulnerability " ,
14+ "name" : " LanguageS " ,
1515 "shortDescription" : {
1616 "text" : " cross-spawn: regular expression denial of service"
1717 },
You can’t perform that action at this time.
0 commit comments