main - tests: skip some unneeded test
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -12,6 +12,8 @@ test_description='devices file with real devs' +SKIP_WITH_LVMPOLLD=1 + . lib/inittest #
test/shell/devicesfile-serial.sh +2 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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