Skip to contentSkip to conversation

main - tests: skip vgchange-pvs-online.sh on rhel5

PATCH David Teigland 1 participant 1 message Feb 15, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6626adb46789e329a53242822dc6e9d233320adb
Commit:        6626adb46789e329a53242822dc6e9d233320adb
Parent:        d59382c772483d3c09b4fcff90c01d81742feac6
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Feb 15 15:56:01 2022 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Tue Feb 15 15:56:46 2022 -0600

tests: skip vgchange-pvs-online.sh on rhel5

the /dev/mapper/ paths to test devices don't seem to work there

---
 test/shell/vgchange-pvs-online.sh | 3 +++
 1 file changed, 3 insertions(+)
test/shell/vgchange-pvs-online.sh +3 -0
index ced03f4da..9bcf70e4b 100644
@@ -19,6 +19,9 @@ _clear_online_files() {
 
 aux prepare_devs 4
 
+# skip rhel5 which doesn't seem to have /dev/mapper/LVMTESTpv1
+aux driver_at_least 4 15 || skip
+
 DFDIR="$LVM_SYSTEM_DIR/devices"
 mkdir -p "$DFDIR" || true
 DF="$DFDIR/system.devices"