Skip to content
Snippets Groups Projects
Commit e2db8dee authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

fixed script to keep newlines in yaml

parent 8c6df7ae
No related branches found
No related tags found
No related merge requests found
Pipeline #4681 passed
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
function main() function main()
{ {
set -e set -e
set -x
# build software # build software
git submodule sync --recursive git submodule sync --recursive
git submodule update --recursive --init git submodule update --recursive --init
...@@ -24,12 +23,12 @@ function main() ...@@ -24,12 +23,12 @@ function main()
local vid=$(turbo-cli version add -q $bid lib/libehp.so) local vid=$(turbo-cli version add -q $bid lib/libehp.so)
turbo-cli fuzz --fuzz-config cicd_testing/afl.yaml --app-config cicd_testing/ehp-config.yaml --ver-id $vid turbo-cli fuzz --fuzz-config cicd_testing/afl.yaml --app-config cicd_testing/ehp-config.yaml --ver-id $vid
local report=$(turbo-cli log get report $vid) local report="$(turbo-cli log get report $vid)"
echo "The report is: " echo "The report is: "
echo $report echo "$report"
local crash_count=$(echo $report|shyaml get-value failing-input-count) local declare crash_count=$(echo "$report"|shyaml get-value failing-input-count)
if [[ $crash_count == 0 ]]; then if [[ $crash_count == 0 ]]; then
echo "No crashes found" echo "No crashes found"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment