mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
TEST-21-DFUZZER: Skip test if dfuzzer is not installed
This commit is contained in:
parent
e3ab65cff3
commit
7afb533711
|
@ -3,6 +3,12 @@
|
|||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
# check dfuzzer is present before testing
|
||||
if ! command -v dfuzzer &>/dev/null; then
|
||||
echo "dfuzzer is not installed, skipping" | tee --append /skipped
|
||||
exit 77
|
||||
fi
|
||||
|
||||
# Save the end.service state before we start fuzzing, as it might get changed
|
||||
# on the fly by one of the fuzzers
|
||||
systemctl list-jobs | grep -F 'end.service' && SHUTDOWN_AT_EXIT=1 || SHUTDOWN_AT_EXIT=0
|
||||
|
|
Loading…
Reference in a new issue