Zdenek Kabelac
1216aa7826
tests: workaround clvmd .cache consistency
...
May need futher fixes, but it's needed only on non-udev systems
(systems which still needs .cache - just like test suite)
2014-03-30 23:45:00 +02:00
Zdenek Kabelac
2c8f0c9800
tests: more vgexport tests
...
cover more options
2014-03-30 23:45:00 +02:00
Zdenek Kabelac
5aa2e5ec8c
tests: update pvs test
...
TODO:
It seems commit 7e685e6c70
has changed the old logic, when 'pvs device_name' used
to work. (regression from 2.02.104)
Currently put in extra pvscan.
2014-03-28 17:06:13 +01:00
Zdenek Kabelac
3181dc72e7
tests: more coverage for pvchange
...
Change metadataignore
Argless pvchange
Alocatability for orphans
2014-03-28 11:38:50 +01:00
Zdenek Kabelac
2a79971004
tests: check pvchange changes uuid
2014-03-28 10:41:59 +01:00
Zdenek Kabelac
09b180cfc2
tests: expect failing pvs when missing PV
2014-03-28 10:41:59 +01:00
Zdenek Kabelac
a512ea6a6a
tests: updates
2014-03-28 00:41:19 +01:00
Zdenek Kabelac
bd805ff048
tests: move some tests to better places
...
Some tests already have separate test scripts - so move
those tests to listing and vgcfgbackup files.
2014-03-28 00:41:19 +01:00
Zdenek Kabelac
5b44a036b1
tests: support invalid and fail results
...
Allow more detailed check for failing exit code:
invalid - expects 3
fail - expects 5
2014-03-28 00:41:19 +01:00
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
fb471a372d
tests: remove also 3.14 fc21 kernels
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
c0c55846b0
tests: wait for clvmd.pid file
...
Just like with dmeventd and lvmetad.
Do few indent changes around.
2014-03-21 22:29:28 +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
81166a84be
tests: more fedora kernels unusable for testing raid456
2014-03-18 10:28:08 +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
19fd6040c2
tests: quotes for LVM_TEST vars
2014-03-17 16:32: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
1a0fea104b
tests: put test envvar into braces
...
Ensure we not fail on space.
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
Zdenek Kabelac
7d3fa6fc32
tests: skip more Fedora kernels for raid456
2014-03-17 14:31:44 +01:00
Zdenek Kabelac
0fc17fe1ce
tests: add more help text and paths quotes
...
Add LVM_VALGRDIN help text
Use proper quotes for abs_ paths
(Assignment in makefile doesn't need them, only shell usage)
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
58e812a13f
tests: use DMEVENTD_PIDFILE
...
Test for compiled-in pidfile location
(so we are not based on assumption /var/run or /run link exists)
2014-03-14 11:16:24 +01:00
Zdenek Kabelac
900cb6717b
tests: quick update of location of pid file
...
Until better fix is put in - replace with /run.
2014-03-14 10:40:48 +01:00
Zdenek Kabelac
8b14ebb2f1
tests: another kernel with unusable kmem_check
2014-03-12 16:17:36 +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
5dc9402774
tests: dmeventd valgrind testing
2014-03-10 12:24:11 +01:00