2016-02-22 16:05:43 -06: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 16:05:28 +01:00
SKIP_WITH_LVMPOLLD = 1
2016-02-22 16:13:42 -06:00
SKIP_WITH_LVMLOCKD = 1
2016-02-22 16:05:43 -06:00
SKIP_WITH_CLVMD = 1
. lib/inittest
2020-09-10 16:39:07 +02:00
# Unsupported with valgrid testing
test ${ LVM_VALGRIND :- 0 } -eq 0 || skip "Unsupported with valgrind"
2019-12-18 15:33:58 +01: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-22 16:05:43 -06:00
2017-11-09 10:56:15 +01:00
# Required by test_nesting:
aux extend_filter_LVMTEST
2016-10-10 16:26:38 -05:00
# We need the lvmdbusd.profile for the daemon to utilize JSON
# output
2021-03-22 10:15:08 +01:00
aux prepare_profiles "lvmdbusd"
2016-10-10 16:26:38 -05:00
2016-03-01 11:49:05 +01:00
aux prepare_lvmdbusd
2016-10-10 16:26:38 -05:00
2021-03-26 13:16:44 +01: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 21:51:26 +02:00
" $TESTOLDPWD /dbus/lvmdbustest.py " -v