Zdenek Kabelac
4ebdfcfb59
tests: more pvchange options examined
2014-03-27 13:13:22 +01:00
Zdenek Kabelac
04a6918518
tests: cover more commands
...
Visit more code lines.
2014-03-27 13:13:09 +01:00
Zdenek Kabelac
a2614c6866
tests: missed exclusive activation
2014-03-26 00:22:23 +01:00
Zdenek Kabelac
5b900dbef5
tests: pass list devs to allocate from
2014-03-26 00:05:46 +01:00
Zdenek Kabelac
1259ae5954
tests: cover code from more commands
2014-03-26 00:05:46 +01:00
Zdenek Kabelac
4b30863e85
tests: check forced backup
2014-03-26 00:05:46 +01:00
Zdenek Kabelac
4adbb85c37
tests: disable test for broken kernel raid targe
...
Since using raid5 - validate it's usable on the system
2014-03-26 00:04:59 +01:00
Zdenek Kabelac
8471fb01d8
tests: wipe signature
...
Check for usable blkid.
2014-03-25 11:23:00 +01:00
Zdenek Kabelac
3c9204a75a
tests: update
2014-03-25 11:23:00 +01:00
Zdenek Kabelac
36d87eddcf
tests: use exclusive activation
...
pvmove in cluster needs exlusive activation or cmirrord running.
2014-03-25 11:23:00 +01:00
Zdenek Kabelac
db1d4ba4ac
tests: argless pvremove
2014-03-25 11:23:00 +01:00
Zdenek Kabelac
04861b9bed
tests: more pvresize tests
...
Maybe move to separate pvresize test,
remove vgck size this is already executed elsewhere.
2014-03-25 11:22:59 +01:00
Zdenek Kabelac
db04d3e6d2
tests: relocate vgimport test
...
It seem like a better-fit here.
2014-03-25 11:22:59 +01:00
Zdenek Kabelac
8b1916fd5a
tests: simplify
2014-03-21 22:29:28 +01:00
Zdenek Kabelac
de5683d8d9
tests: add quotes around device paths
2014-03-21 22:29:27 +01:00
Petr Rockai
f12ee43f2e
polldaemon: Re-initialise lvmcache properly on fork (fixes RHBZ 1073670).
2014-03-19 16:25:12 +01:00
Zdenek Kabelac
aed36c12f8
tests: use check lv_tree_on
...
Use internal /lib function.
Reduce extent size for test to create smaller devices.
2014-03-18 10:28:09 +01:00
Zdenek Kabelac
31b1d06ddd
tests: replace skip_if_mirror_recovery_broken
...
Use mirror_recovery_works instead with easier to follow logic.
2014-03-17 16:33:29 +01:00
Zdenek Kabelac
e3d208f7c2
tests: put vars in quotes
...
This shell var has space in middle
2014-03-17 16:30:52 +01:00
Zdenek Kabelac
a2c544dc91
tests: make test usable in cluster
...
Origin needs exclusive activation
2014-03-17 15:18:20 +01:00
Zdenek Kabelac
ae2d80dd7e
tests: update error message check
2014-03-17 15:18:02 +01:00
Zdenek Kabelac
e398901ed1
tests: zero and error type tests
2014-03-17 14:31:45 +01:00
Zdenek Kabelac
fe8603dd60
tests: lvconvert snapshot testing
2014-03-17 14:31:45 +01:00
Zdenek Kabelac
27d556de9e
tests: enhance snapshot test
...
Improve cleanup routine and use it also for vg removal.
2014-03-17 14:31:45 +01:00
Zdenek Kabelac
95f74af404
tests: skip mangling test
...
Mangling is only using dmsetup commands,
so there is no lvm command and no contact with
clvmd nor lvmetad so skip this test there.
2014-03-17 14:31:45 +01:00
Zdenek Kabelac
909e2207bd
tests: test spare volume removal
2014-03-17 14:31:44 +01:00
Zdenek Kabelac
404593c710
tests: more coverage
2014-03-17 14:31:44 +01:00
Peter Rajnoha
12eb284eec
tests: fix name-mangling test
...
We need to use "--verifyudev" for dmsetup mangle command used in
the name-mangling test since without the --verifyudev, we'd end up
with the failed rename.
Also, add direct check for the dev nodes - node with old name must
be gone and node with new name must be present. Before, we checked
just the output of the command.
One bug popped up here when renaming with udev and libdevmapper
fallback checking the udev when target mangle mode is "none"
(fixme added in the libdevmapper's node rename code).
2014-03-17 11:51:30 +01:00
Zdenek Kabelac
a2c64e21fd
tests: check we are no reading pool device
2014-03-12 00:26:47 +01:00
Zdenek Kabelac
dd690d5fd1
tests: add inactive pool creation test
2014-03-12 00:25:59 +01:00
Zdenek Kabelac
41e1b12e03
tests: skip another kernel
...
This kernel has still buggy kmem_cache debugging so skip it for raid456.
2014-03-10 12:24:10 +01:00
Zdenek Kabelac
d913fcbd46
tests: improve wait for open
...
Add loop to detect open device from 'sleep <'
2014-03-10 12:24:10 +01:00
Zdenek Kabelac
fa23234e71
tests: reuse existing check dev_md5sum
...
Create md5sum in reusable way and use exiting check function.
2014-03-10 12:24:10 +01:00
Zdenek Kabelac
ef1d910dee
tests: updates for new test
...
snaphost needs exclusive origin for cluster
older md5 needs 2 space char
2014-03-06 18:01:21 +01:00
Zdenek Kabelac
6b561a7a3b
tests: check created snapshot has good max size
...
Testing if we are creating large enough old-snapshot
(so the COW max size is correct)
https://bugzilla.redhat.com/show_bug.cgi?id=1035871
2014-03-06 17:30:10 +01:00
Zdenek Kabelac
d0673b0ddc
tests: detect old-snap metadata consitency
...
Add some test for correctness of snapshot metadata.
Based upon original test from Mikulas.
Needs correctly working kernel snapshot target.
2014-03-06 17:30:10 +01:00
Peter Rajnoha
cfc9e178bf
tests: fix name-mangling test and remove udev transaction in dmsetup wrapper
2014-03-06 14:46:50 +01:00
Petr Rockai
3c9887467f
test: Use correct path to /dev in lvchange-raid.sh.
2014-03-05 10:22:39 +01:00
Zdenek Kabelac
52007a9191
tests: split raid test
...
Use separate files for raid1, raid456, raid10.
They need different target versions to work, so support
more precise test selection.
Optimize duplicate tests of target avalability and skip
unsupported test cases sooner.
2014-03-03 11:23:57 +01:00
Marian Csontos
445c0a5585
test: Remove incorrect evaluation
2014-03-03 08:31:33 +01:00
Zdenek Kabelac
33d69162e4
tests: split raid test
...
Use separate test file for raid456
Change test for broken kernel which has broken raid456 support.
2014-03-02 21:27:26 +01:00
Zdenek Kabelac
3ff10f5e61
tests: disable test which leaks node
...
This test is not detected as fault but leak device node
on a real /dev.
Added FIXME.
2014-03-02 21:27:26 +01:00
Zdenek Kabelac
a2af5855c5
tests: use longer sleep
...
Eplore why 30sec is not enough for hydra and try higher value.
2014-03-02 21:27:25 +01:00
Petr Rockai
fade191aed
test: Test that we cope with stray device nodes.
2014-03-02 20:53:43 +01:00
Petr Rockai
3b958984f1
test: Properly synchronize direct dmsetup calls.
2014-03-02 20:53:43 +01:00
Zdenek Kabelac
72ecf8e591
tests: detect reiserfs support
...
Since reiserfs is not commonly available detect its presence in kernel.
Stop reporting skipped test as WARNING.
2014-03-01 14:08:59 +01:00
Petr Rockai
daa897fe90
test: Fix stat calls in lvmetad-pvscan-filter.
2014-02-28 23:33:30 +01:00
Petr Rockai
1bb29bb402
test: Downgrade lvmetad-lvm1 failure to a warning.
2014-02-28 23:33:17 +01:00
Petr Rockai
f3b9fe6024
test: Add lvmetad_talk and lvmetad_dump to aux.
2014-02-28 11:23:53 +01:00
Petr Rockai
bf29eabdba
lvmetad: Keep the cache consistent when a PV moves around.
...
In cases where PV appears on a new device without disappearing from an old one
first, the device->pvid pointers could become ambiguous. This could cause the
ambiguous PV to be lost from the cache when a different PV comes up on one of
the ambiguous devices.
2014-02-28 11:23:52 +01:00