Skip to content

Commit aba1a8b

Browse files
committed
A few minor fixes to the other IAST run scripts.
1 parent f2ab32a commit aba1a8b

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

tools/CxIAST/runBenchmark_wCxIAST.sh

100644100755
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ if [ -f ./cx-launcher.jar ]; then
1919
fi
2020

2121
cd ../..
22-
chmod 755 target/classes/insecureCmd.sh
2322
mvn clean package cargo:run -Pdeploywcxiast
2423

2524
echo "Download Checkmarx IAST report to results directory"

tools/HCL/runBenchmark_wHCL.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ if [ -f ./secagent.jar ]; then
1515
mvn clean package cargo:run -Pdeploywhcl
1616

1717
echo "Copying report to results directory"
18-
cp tools/HCL/working/HCL-IAST.hcl results/Benchmark_HCL-IAST.hcl
18+
benchmark_version=$(scripts/getBenchmarkVersion.sh)
19+
result_file="results/Benchmark_$benchmark_version-HCL-IAST.hcl"
20+
cp tools/HCL/working/HCL-IAST.hcl "$result_file"
1921
cd tools/HCL
2022

2123
else
2224

23-
echo "secagent.jar is required to run this benchmark. Please contact HCL at https://www.hcl.com/."
25+
echo "secagent.jar is required to run the Benchmark with HCL IAST. Please contact HCL at https://www.hcl.com/."
2426

2527
fi
28+

tools/seeker/runBenchmark_wSeeker.sh

100644100755
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
if [ -f ./seeker-agent.jar ]; then
44

5-
echo ""
6-
echo "Previous Seeker results in tools/seeker removed"
7-
echo ""
8-
9-
fi
10-
115
cd ../..
12-
chmod 755 target/classes/insecureCmd.sh
136
mvn clean package cargo:run -Pdeploywseeker
147

158
echo "Download Seeker report to results directory"

0 commit comments

Comments
 (0)