Skip to content

Commit

Permalink
Create test-script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
williamnadolski authored Feb 6, 2024
1 parent ef847c8 commit 0e01088
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Simple test script for greetings jar

set -e

java -jar build/libs/greetings-ci-$1.jar ${@:2} > output.bench
IFS=' ' read -ra ARR <<< "${@:2}"
for i in "${ARR[@]}"; do
grep "^$i$" output.bench
done

0 comments on commit 0e01088

Please sign in to comment.