GitLab CI: Fix a file search
This commit is contained in:
parent
1e662a7aa4
commit
98a99f616f
|
@ -972,7 +972,7 @@ Code Lines and Data:
|
|||
- . /tmp/fuzz_result.sh
|
||||
- if $FUZZ_PASSED ; then exit 0 ; fi
|
||||
- echo Fuzzing failed. Generating report.
|
||||
- FUZZ_CAPTURE=$( ls /tmp/fuzz/fuzz-*.pcap | head -n 1 )
|
||||
- FUZZ_CAPTURE=$( find /tmp/fuzz -name "fuzz-*.pcap" -o -name "randpkt-*.pcap" | head -n 1 )
|
||||
- FUZZ_ERRORS="/tmp/fuzz/$( basename "$FUZZ_CAPTURE" .pcap ).err"
|
||||
- printf "\nfuzz-test.sh stderr:\n" >> "$FUZZ_ERRORS"
|
||||
- cat fuzz-test.err >> "$FUZZ_ERRORS"
|
||||
|
|
Loading…
Reference in New Issue