mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
workflows/fuzzing.yml: Add timeout equal to total run time
Just in case some of the values cause an infinite loop (or at least take a _very_ long time, see #7708), timeout, with the same duration as the maximum total fuzzing time. That'll allow us to _see_ what input causes the infinite loop.
This commit is contained in:
@@ -84,7 +84,7 @@ jobs:
|
||||
shell: bash
|
||||
continue-on-error: ${{ !matrix.test-target.name.should_pass }}
|
||||
run: |
|
||||
cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0
|
||||
cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -timeout=${{ env.RUN_FOR }} -detect_leaks=0
|
||||
- name: Save Corpus Cache
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user