Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libehp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
libehp
Commits
e2db8dee
Commit
e2db8dee
authored
5 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
fixed script to keep newlines in yaml
parent
8c6df7ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#4681
passed
5 years ago
Stage: clean
Stage: build
Stage: test
Stage: fuzz
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cicd_testing/do-fuzz.sh
+3
-4
3 additions, 4 deletions
cicd_testing/do-fuzz.sh
with
3 additions
and
4 deletions
cicd_testing/do-fuzz.sh
+
3
−
4
View file @
e2db8dee
...
...
@@ -3,7 +3,6 @@
function
main
()
{
set
-e
set
-x
# build software
git submodule
sync
--recursive
git submodule update
--recursive
--init
...
...
@@ -24,12 +23,12 @@ function main()
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
local
report
=
$(
turbo-cli log get report
$vid
)
local
report
=
"
$(
turbo-cli log get report
$vid
)
"
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
echo
"No crashes found"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment