2016-02-23 01:05:43 +03:00
#!/bin/sh
# Copyright (C) 2016 Red Hat, Inc. All rights reserved.
#
# This file is part of LVM2.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2021-03-26 18:05:28 +03:00
SKIP_WITH_LVMPOLLD = 1
2016-02-23 01:13:42 +03:00
SKIP_WITH_LVMLOCKD = 1
2016-02-23 01:05:43 +03:00
SKIP_WITH_CLVMD = 1
. lib/inittest
2020-09-10 17:39:07 +03:00
# Unsupported with valgrid testing
2021-04-23 00:22:01 +03:00
test " ${ LVM_VALGRIND :- 0 } " -eq 0 || skip "Unsupported with valgrind"
2020-09-10 17:39:07 +03:00
2019-12-18 17:33:58 +03:00
# NOTE: Some tests, namely anything with vdo, and
# api/dbus_test_lv_interface_cache_lv.sh, require larger PVs
aux prepare_pvs 6 6400
2016-02-23 01:05:43 +03:00
2017-11-09 12:56:15 +03:00
# Required by test_nesting:
aux extend_filter_LVMTEST
2016-10-11 00:26:38 +03:00
# We need the lvmdbusd.profile for the daemon to utilize JSON
# output
2021-03-22 12:15:08 +03:00
aux prepare_profiles "lvmdbusd"
2016-10-11 00:26:38 +03:00
2016-03-01 13:49:05 +03:00
aux prepare_lvmdbusd
2016-10-11 00:26:38 +03:00
2021-03-26 15:16:44 +03:00
# Example for testing individual test:
#"$TESTOLDPWD/dbus/lvmdbustest.py" -v TestDbusService.test_lv_interface_cache_lv
#"$TESTOLDPWD/dbus/lvmdbustest.py" -v TestDbusService.test_pv_symlinks
2017-06-29 22:51:26 +03:00
" $TESTOLDPWD /dbus/lvmdbustest.py " -v