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
Zdenek Kabelac
54da0ea61a
tests: use get_devs
...
Check how get_devs is usable with shell array DEVICES
2014-06-05 17:49:35 +02:00
Zdenek Kabelac
367e4551a1
tests: add more rename test
...
Drop test, which are now in other files (listings.sh)
2014-03-31 12:05:35 +02: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
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
1259ae5954
tests: cover code from more commands
2014-03-26 00:05:46 +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
de5683d8d9
tests: add quotes around device paths
2014-03-21 22:29:27 +01:00
Zdenek Kabelac
404593c710
tests: more coverage
2014-03-17 14:31:44 +01:00
Zdenek Kabelac
47b15b805e
tests: updates
...
Add some vgremove calls.
Remove uneeded test for some unused commands.
Add tests for missing commands.
2014-02-27 13:01:04 +01:00
Peter Rajnoha
163666e513
tests: one LV should be active and one inactive in covercmd test
2013-12-04 09:38:00 +01:00
Peter Rajnoha
6232cac86c
vgdisplay: select only active volumes groups if -A option is used
...
Where "active" means "at least one LV is active in the volume group".
2013-12-03 14:43:00 +01:00
Zdenek Kabelac
db2b65704c
tests: test mirrors in clustered way
...
Make the clustered testing using cluster locking for most of the tests.
Use exclusive activation for mirrors and snapshot origins.
2013-05-31 21:42:32 +02:00
Zdenek Kabelac
d864c6eacd
test: resync is for mirror devices
2012-10-15 14:31:41 +02:00
Zdenek Kabelac
faa9a52085
test: detect compilation with readline
...
check lvm shell functionality only if compiled with readline.
2012-10-15 14:07:06 +02:00
Zdenek Kabelac
a6f53b5c0d
test: coverage
...
Improve a bit code coverage.
Use lvm shell to reduce a bit CPU time.
2012-10-14 23:14:48 +02: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