Skip to content

Commit 87875fc

Browse files
committed
[PLUTO-1411] test script
1 parent 5f00f29 commit 87875fc

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.github/workflows/it-test.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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
@@ -52,14 +52,4 @@ jobs:
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

plugins/tools/trivy/test/src/expected.sarif

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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
},

0 commit comments

Comments
 (0)