File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,12 @@ testcase_lvm_basic() {
545545 /dev/disk/by-id/scsi-0systemd_foobar_deadbeeflvm{0..3}
546546 )
547547
548+ . /etc/os-release
549+ if [[ " $ID " == " ubuntu" ]]; then
550+ echo " LVM on Ubuntu is broken, skipping the test" | tee --append /skipped
551+ exit 77
552+ fi
553+
548554 if [[ -v ASAN_OPTIONS || " $( systemd-detect-virt -v) " == " qemu" ]]; then
549555 timeout=180
550556 else
@@ -853,6 +859,12 @@ testcase_iscsi_lvm() {
853859 /dev/disk/by-id/scsi-0systemd_foobar_deadbeefiscsi{0..3}
854860 )
855861
862+ . /etc/os-release
863+ if [[ " $ID " == " ubuntu" ]]; then
864+ echo " LVM on Ubuntu is broken, skipping the test" | tee --append /skipped
865+ exit 77
866+ fi
867+
856868 ls -l " ${devices[@]} "
857869
858870 # Start the target daemon (debian names it tgt.service so make sure we handle that)
You can’t perform that action at this time.
0 commit comments