mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
TEST-64-UDEV-STORAGE: Skip LVM subtests on Ubuntu
These fail for unknown reasons on Ubuntu. Until someone from Ubuntu who cares can figure out why, let's skip these tests on Ubuntu.
This commit is contained in:
parent
2cf6f55b72
commit
f2c6afa6c0
@ -545,6 +545,12 @@ testcase_lvm_basic() {
|
||||
/dev/disk/by-id/scsi-0systemd_foobar_deadbeeflvm{0..3}
|
||||
)
|
||||
|
||||
. /etc/os-release
|
||||
if [[ "$ID" == "ubuntu" ]]; then
|
||||
echo "LVM on Ubuntu is broken, skipping the test" | tee --append /skipped
|
||||
exit 77
|
||||
fi
|
||||
|
||||
if [[ -v ASAN_OPTIONS || "$(systemd-detect-virt -v)" == "qemu" ]]; then
|
||||
timeout=180
|
||||
else
|
||||
@ -853,6 +859,12 @@ testcase_iscsi_lvm() {
|
||||
/dev/disk/by-id/scsi-0systemd_foobar_deadbeefiscsi{0..3}
|
||||
)
|
||||
|
||||
. /etc/os-release
|
||||
if [[ "$ID" == "ubuntu" ]]; then
|
||||
echo "LVM on Ubuntu is broken, skipping the test" | tee --append /skipped
|
||||
exit 77
|
||||
fi
|
||||
|
||||
ls -l "${devices[@]}"
|
||||
|
||||
# Start the target daemon (debian names it tgt.service so make sure we handle that)
|
||||
|
Loading…
Reference in New Issue
Block a user