Created
February 4, 2024 13:35
-
-
Save brentlaster/f1c922ff4266882f0e5f2982da053cde to your computer and use it in GitHub Desktop.
Code for test script for CICD in 3 weeks course from @getskillsnow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment