mirror of
https://github.com/systemd/systemd.git
synced 2024-10-26 17:27:41 +03:00
test: don't use /skipped for subtests
Since, at least the old framework, checks for the presence of the file at the end and marks the whole test as skipped if it exists. Resolves: systemd/systemd-centos-ci#728
This commit is contained in:
parent
40d90c9c01
commit
4d1fbe53c1
@ -4,12 +4,12 @@ set -eux
|
||||
set -o pipefail
|
||||
|
||||
if systemd-detect-virt -cq; then
|
||||
echo "This test requires a VM, skipping the test" | tee --append /skipped
|
||||
echo "This test requires a VM, skipping the test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ ! -x /usr/lib/systemd/systemd-bsod ]]; then
|
||||
echo "systemd-bsod is not installed, skipping the test" | tee --append /skipped
|
||||
echo "systemd-bsod is not installed, skipping the test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -5,7 +5,7 @@ set -eux
|
||||
set -o pipefail
|
||||
|
||||
if [[ $(systemctl is-enabled systemd-udev-load-credentials.service) == not-found ]]; then
|
||||
echo "Missing systemd-udev-load-credentials.service" >>/skipped
|
||||
echo "Missing systemd-udev-load-credentials.service"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user