Skip to contentSkip to conversation

main - tests: skip some unneeded test

PATCH Zdenek Kabelac 1 participant 1 message Apr 24, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8476a09ee5b761d393a26145d2da23615d31579f
Commit:        8476a09ee5b761d393a26145d2da23615d31579f
Parent:        a51b6d5e4269ba4a5b335a3894873c750c2e8384
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Apr 23 19:17:08 2023 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Apr 25 00:12:31 2023 +0200

tests: skip some unneeded test

Skip irelevant tests for polld & lockd pass.

---
 test/shell/aa-lvmlockd-dlm-prepare.sh     | 2 ++
 test/shell/aa-lvmlockd-idm-prepare.sh     | 2 ++
 test/shell/aa-lvmlockd-sanlock-prepare.sh | 2 ++
 test/shell/allow-mixed-block-sizes.sh     | 1 +
 test/shell/devicesfile-basic.sh           | 2 ++
 test/shell/devicesfile-devname.sh         | 2 ++
 test/shell/devicesfile-edit.sh            | 2 ++
 test/shell/devicesfile-realdevs.sh        | 2 ++
 test/shell/devicesfile-serial.sh          | 2 ++
 test/shell/discards-thin.sh               | 1 +
 test/shell/dmsecuretest.sh                | 1 +
 test/shell/dmstats-create.sh              | 2 +-
 test/shell/dmstats-report.sh              | 2 +-
 test/shell/error-usage.sh                 | 1 +
 test/shell/report-fields.sh               | 2 +-
 test/shell/report-format.sh               | 1 +
 test/shell/report-hidden.sh               | 2 +-
 17 files changed, 25 insertions(+), 4 deletions(-)
test/shell/aa-lvmlockd-dlm-prepare.sh +2 -0
index 24021f3ef..c261c1d39 100644
@@ -12,6 +12,8 @@
 
 test_description='Set up things to run tests with dlm'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 [ -z "$LVM_TEST_LOCK_TYPE_DLM" ] && skip;
test/shell/aa-lvmlockd-idm-prepare.sh +2 -0
index 8faff3bc2..fc9d75b5b 100644
@@ -12,6 +12,8 @@
 
 test_description='Set up things to run tests with idm'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 [ -z "$LVM_TEST_LOCK_TYPE_IDM" ] && skip;
test/shell/aa-lvmlockd-sanlock-prepare.sh +2 -0
index 4d0f9fd94..6db14fe5b 100644
@@ -12,6 +12,8 @@
 
 test_description='Set up things to run tests with sanlock'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 [ -z "$LVM_TEST_LOCK_TYPE_SANLOCK" ] && skip;
test/shell/allow-mixed-block-sizes.sh +1 -0
index 912f87781..d6983cc7c 100644
@@ -10,6 +10,7 @@
 # along with this program; if not, write to the Free Software Foundation,
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
+SKIP_WITH_LVMLOCKD=1
 SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
test/shell/devicesfile-basic.sh +2 -0
index 715c579b3..c2ede4735 100644
@@ -12,6 +12,8 @@
 
 test_description='devices file'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 aux prepare_devs 7
test/shell/devicesfile-devname.sh +2 -0
index 76c978fb0..5fe87c579 100644
@@ -12,6 +12,8 @@
 
 test_description='devices file with devnames'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 aux prepare_devs 7
test/shell/devicesfile-edit.sh +2 -0
index a71ca0c43..126d5b1d6 100644
@@ -12,6 +12,8 @@
 
 test_description='devices file editing with lvmdevices'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 aux lvmconf 'devices/scan = "/dev"'
test/shell/devicesfile-realdevs.sh +2 -0
index 23d4bedb4..0f62e9b33 100644
@@ -12,6 +12,8 @@
 
 test_description='devices file with real devs'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 #
test/shell/devicesfile-serial.sh +2 -0
index a88c1906a..94ce3d74a 100644
@@ -12,6 +12,8 @@
 
 test_description='device id wwid from vpd_pg83'
 
+SKIP_WITH_LVMPOLLD=1
+
 . lib/inittest
 
 test "$DM_DEV_DIR" = "/dev" || skip "Only works with /dev access -> make check LVM_TEST_DEVDIR=/dev"
test/shell/discards-thin.sh +1 -0
index f27d4c3d1..213f713aa 100644
@@ -15,6 +15,7 @@
 
 
 SKIP_WITH_LVMPOLLD=1
+SKIP_WITH_LVMLOCKD=1
 
 export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}
 
test/shell/dmsecuretest.sh +1 -0
index 6fbdb893c..609fc7cf5 100644
@@ -13,6 +13,7 @@
 # Test secure table is not leaking data in user land
 
 SKIP_WITH_LVMPOLLD=1
+SKIP_WITH_LVMLOCKD=1
 
 # AES key matching rot13 string from dmsecuretest.c */
 SECURE="434e0cbab02ca68ffba9268222c3789d703fe62427b78b308518b3228f6a2122"
test/shell/dmstats-create.sh +1 -1
index e28c9ef9d..03406aeff 100644
@@ -11,7 +11,7 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 SKIP_WITH_LVMPOLLD=1
-
+SKIP_WITH_LVMLOCKD=1
 
 . lib/inittest
 
test/shell/dmstats-report.sh +1 -1
index 965fca80e..bd72f1a61 100644
@@ -11,7 +11,7 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 SKIP_WITH_LVMPOLLD=1
-
+SKIP_WITH_LVMLOCKD=1
 
 . lib/inittest
 
test/shell/error-usage.sh +1 -0
index f8a561a37..bc9f30ab9 100644
@@ -13,6 +13,7 @@
 # Basic usage of zero target
 
 
+SKIP_WITH_LVMLOCKD=1
 SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
test/shell/report-fields.sh +1 -1
index 949e5a579..eb81afc98 100644
@@ -10,7 +10,7 @@
 # along with this program; if not, write to the Free Software Foundation,
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-
+SKIP_WITH_LVMLOCKD=1
 SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
test/shell/report-format.sh +1 -0
index 14b53edfb..e02d61b27 100644
@@ -11,6 +11,7 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 
+SKIP_WITH_LVMLOCKD=1
 SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
test/shell/report-hidden.sh +1 -1
index 621eefc54..f38e04867 100644
@@ -10,7 +10,7 @@
 # along with this program; if not, write to the Free Software Foundation,
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-
+SKIP_WITH_LVMLOCKD=1
 SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest