mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
TEST-04-JOURNAL: Skip bsod test if systemd-bsod is not installed
systemd is built without qrencode support on CentOS which means systemd-bsod will not be installed. Let's skip the test if that's the case.
This commit is contained in:
parent
f74fb048f9
commit
f1d3962e61
|
@ -4,7 +4,12 @@ set -eux
|
|||
set -o pipefail
|
||||
|
||||
if systemd-detect-virt -cq; then
|
||||
echo "This test requires a VM, skipping the test"
|
||||
echo "This test requires a VM, skipping the test" | tee --append /skipped
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ ! -x /usr/lib/systemd/systemd-bsod ]]; then
|
||||
echo "systemd-bsod is not installed, skipping the test" | tee --append /skipped
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue