]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: pass max_total_time to libFuzzer
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 17 Feb 2020 22:54:42 +0000 (22:54 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 17 Feb 2020 23:29:50 +0000 (02:29 +0300)
Since clang was updated to 9.0.1 libFuzzer has been exiting with 72
when it's run with timeout. Let's pass -max_total_time to it instead.

travis-ci/managers/fuzzbuzz.sh

index b89cfba11a064595efb233a8b820ae5a1ad6c8e4..c841af121471ab492e868d8ecf30fe77230963c1 100755 (executable)
@@ -17,7 +17,7 @@ pip3 install meson
 cd $REPO_ROOT
 export PATH="$HOME/.local/bin/:$PATH"
 tools/oss-fuzz.sh
-timeout --preserve-status 5 ./out/fuzz-unit-file
+./out/fuzz-unit-file -max_total_time=5
 git clean -dxff
 
 wget https://app.fuzzbuzz.io/releases/cli/latest/linux/fuzzbuzz