Zdenek Kabelac
8630a19d1e
tests: use PWD for dbus testing
...
lvmdbusd ATM is leaking too many log files.
At least try to keep them removed with test failure.
2023-02-13 14:30:43 +01:00
Zdenek Kabelac
f678052385
shellcheck: updates
...
Ehance some shellcheck reported issues.
2021-04-23 23:00:55 +02:00
Zdenek Kabelac
49575a6ce1
tests: skip more tests for lvmpolld pass
...
These test do not test polling, so skip them for lvmpolld pass.
2021-03-26 20:39:40 +01:00
Zdenek Kabelac
7768650d87
tests: add commented example
...
How to run individual test.
2021-03-26 13:16:44 +01:00
Zdenek Kabelac
77432ee137
tests: remove local changes
...
Use aux for preparing profile.
Avoid playing with LVM_BINARY localy - we already
preset this variable in lib/utils.
2021-03-22 22:36:37 +01:00
Zdenek Kabelac
3dcd61d3d7
tests: disable dbustest with valgrind testing
2020-09-10 23:55:03 +02:00
Marian Csontos
87e88078c9
tests: Some lvmdbus tests require larger PVs
2019-12-18 15:33:58 +01:00
Marian Csontos
512b2adc77
test: D-Bus test_nesting requires filter
2017-11-09 11:57:59 +01:00
Zdenek Kabelac
c613fa48ff
tests: api updates
2017-06-29 22:23:17 +02:00
Zdenek Kabelac
b0bda09005
tests: ensure there is dbus config file
...
Copy lvmdbusd.profile to lib as installed place.
Use TESTOLDPWD and avoid add new 'same' variable test_data_dir.
2016-11-26 00:22:38 +01:00
Tony Asleson
2830f72288
lvmdbusd: Disable lvm abort on too much log output
...
The commit:
https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=34c55d98eefd88f85476c0f62f0649c706bde6f0
introduced an abort if lvm logs too much. In the case of utilizing
lvm shell this is a pretty normal occurance, so we will disable
when we use lvm shell.
2016-10-11 13:16:57 -05:00
Tony Asleson
20e74313cd
lvmdbustest.py: Add profile and path for lvm binary
2016-10-10 16:33:42 -05:00
Marian Csontos
82d92009ae
test: Move bus configuration to prepare function
2016-03-23 12:27:34 +01:00
Marian Csontos
bb93a28bc1
test: Fix lvmdbusd tests to work with installed testsuite
2016-03-23 11:59:04 +01:00
Marian Csontos
ca7bac53cf
test: Turn on dbus test
...
(cherry picked from commit f1ea96c6c1dc6414169bda1a18cf14cd9ebb1493)
2016-03-21 15:22:58 +01:00
Marian Csontos
18291fd016
test: Remove work-in-progress code from dbustest
...
(cherry picked from commit 3189d4d50492f5b78cf3920a7f499fd1020983c6)
2016-03-09 14:04:28 +01:00
Marian Csontos
e655ccb418
test: Add prepare_lvmdbusd
...
- Check for running lvmdbusd at start
- Add teardown for lvmdbusd
2016-03-09 10:58:21 +01:00
Marian Csontos
f94fe2c91f
dbustest.sh: Get dbus test to work on buildbot
...
- stdout/stderr for test output
- debug.log* for daemon output
- use install instead of cp for DBus config
- use system bus
- DBus reloads on new file. Better having it created with correct
permissions.
Notes:
- Squashed commits from mcsontos development branch
- Still disabled at this time
Signed-off-by: Tony Asleson <tasleson@redhat.com>
2016-03-04 10:11:03 -06:00
David Teigland
f54253d396
tests: add SKIP_WITH_LVMLOCKD
...
to all tests that don't already used vgcreate $SHARED
2016-02-23 09:28:48 -06:00
Tony Asleson
05eb87ca2d
lvmdbusd: Initial unit test driver script
...
It's disabled until we can fix it up.
Signed-off-by: Tony Asleson <tasleson@redhat.com>
2016-02-22 16:07:54 -06:00