David Teigland
d693041149
tests: add wipefs wrapper
...
which falls back to using dd on old systems without
the wipefs command
2019-10-02 14:11:08 -05:00
David Teigland
c2ff8876f9
tests: update to md dev name
...
Use /dev/md33 instead of /dev/md0 to reduce chances of
conflicting with an existing name.
Only call 'mdadm --stop /dev/md33' for cleanup and don't
use 'mdadm --stop --scan' to avoid stopping other md devs.
2019-10-02 14:09:51 -05:00
David Teigland
9680fd6d78
tests: skip md tests if system not clean
2019-09-27 12:40:42 -05:00
David Teigland
585db87274
tests: skip some without wipefs
2019-09-12 11:23:30 -05:00
David Teigland
1fe04f89ef
tests: use standard md devices
2019-09-12 10:11:27 -05:00
Zdenek Kabelac
e653f43732
tests: simplify some var settings
...
scan_lvs now automatically comes with extend_filter_LVMTEST
2019-08-09 12:57:21 +02:00
David Teigland
885eb2024f
tests: enable non-working tests with lvmlockd
...
Those that are failing for reasons other than lvmlockd
restrictions.
2018-05-31 16:18:53 -05:00
David Teigland
28c8e95d19
scan: refresh paths and retry open
...
If scanning fails to open any devices, refresh the
device paths in dev cache, and retry the opens.
2018-05-25 13:09:07 -05:00
Zdenek Kabelac
89f34eaf0c
tests: correcting symlink manipulation
...
Fix symlink and add 'verbose' pvs for a while for checking
scanning correctness.
2018-05-24 11:22:32 +02:00
Zdenek Kabelac
146bfb2417
tests: math drop uncessary $/${}
...
$/${} is unnecessary on arithmetic variables.
Use $((..)) instead of deprecated $[..]
2017-07-10 14:23:53 +02:00
Zdenek Kabelac
e55bae2b2c
tests: use bash
2017-07-10 14:23:53 +02: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
Zdenek Kabelac
fcbef05aae
doc: change fsf address
...
Hmm rpmlint suggest fsf is using a different address these days,
so lets keep it up-to-date
2016-01-21 12:11:37 +01:00
Zdenek Kabelac
4159680a0e
tests: use more SKIP
...
Speed-up check_lvmpolld.
2015-10-27 16:00:09 +01:00
Ondrej Kozina
e587b0677b
lvmpolld: Add standalone polldaemon.
...
See doc/lvmpolld_overview.txt
2015-05-09 00:59:18 +01:00
Zdenek Kabelac
7a5a4f952e
tests: play better with mdadm
...
Manage mdadm devices on older distros is a challange.
2015-05-04 13:11:41 +02:00
Zdenek Kabelac
4daede06e5
tests: move kernel_at_least to aux
...
Hide func processing and reuse existing
version_at_least().
2015-05-01 15:07:58 +02:00
Zdenek Kabelac
a378e5a6dd
tests: drop debug test
...
Remove 'debug leftover' from test.
2015-04-28 11:23:16 +02:00
Zdenek Kabelac
a7d28639eb
tests: use new help in aux
...
Simplify tests and use aux mdadm helpers.
2015-04-25 00:40:02 +02:00
Zdenek Kabelac
de0ce46361
tests: fix md raid test on real /dev
...
Zero raid signatures when raid is stopped - so signatures
are not requiring wipe when pvcreate follows.
Handle real /dev
2015-04-23 20:28:44 +02:00
Peter Rajnoha
1ced5562cd
tests: fix pvcreate-operation-md test to properly clean up devs before their reuse
...
pvcreate filters out devices with existing partitions defined on them,
we need to properly clean up the devs before we reuse them.
2015-02-13 14:53:26 +01:00
Zdenek Kabelac
5c5177c37c
tests: rename test to inittest
...
We are getting into problem when we use 'test' for commands like
should/not/...
So avoid overloading test name and change it to inittest.
2014-06-10 10:51:27 +02:00
Petr Rockai
fc02f24178
test: Fix fallout from pv_read changes.
2013-11-17 21:41:27 +01:00
Petr Rockai
53fbf2bea3
tests: make filter extension more robust
2013-06-02 00:50:09 +02:00
Zdenek Kabelac
758f674240
Update test for dmevent restart
...
Actually restart was failing for different reason - so pass in proper
location of dmeventd for restart from lvm command and avoid using
the one from /sbin location.
Update pv create test with "" around path.
2012-03-20 10:48:59 +00:00
Zdenek Kabelac
351be15dc4
Update tests
...
Indent
Shell improvements - use internal function for checks
Use PVs in "" (LV and VG cannot have spaces)
Several test very starting 'dmeventd' without annoucing
it via prepade_dmeventd.
Fix some of test actually.
2012-03-16 13:00:05 +00:00
Petr Rockai
f2a3f0fe3d
Tidy the shell tests into their own subdir. We now have:
...
- test/lib -- infrastructure and helper code
- test/api -- liblvm2app API tests
- test/unit -- C-based unit tests
- test/shell -- shell-based functional tests
2011-11-21 00:15:42 +00:00