Fix travis-fuzz upgrade handling
This commit is contained in:
parent
0c10cb127e
commit
49d7538452
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cargo install honggfuzz
|
set -e
|
||||||
set +e
|
cargo install --force honggfuzz
|
||||||
for TARGET in fuzz_targets/*; do
|
for TARGET in fuzz_targets/*; do
|
||||||
FILENAME=$(basename $TARGET)
|
FILENAME=$(basename $TARGET)
|
||||||
FILE="${FILENAME%.*}"
|
FILE="${FILENAME%.*}"
|
||||||
HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" HFUZZ_RUN_ARGS="-N1000000 --exit_upon_crash -v" cargo hfuzz run $FILE
|
HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" HFUZZ_RUN_ARGS="-N1000000 --exit_upon_crash -v" cargo hfuzz run $FILE
|
||||||
if [ -f hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT ]; then
|
if [ -f hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT ]; then
|
||||||
cat hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT
|
cat hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT
|
||||||
for CASE in hfuzz_workspace/$FILE/SIG*; do
|
for CASE in hfuzz_workspace/$FILE/SIG*; do
|
||||||
cat $CASE | xxd -p
|
cat $CASE | xxd -p
|
||||||
|
|
Loading…
Reference in New Issue