mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: add dmstats create tests
Add tests for the "dmstats create" command: * simple whole-device region * region using --start/--len options * region using --segments option * region with precise timestamps (--precise) * region with histogram bounds (--bounds)
This commit is contained in:
parent
11fd7b7c64
commit
3d3b132d9a
@ -15,6 +15,13 @@
|
|||||||
aux driver_at_least 4 33 || skip
|
aux driver_at_least 4 33 || skip
|
||||||
|
|
||||||
# ensure we can create devices (uses dmsetup, etc)
|
# ensure we can create devices (uses dmsetup, etc)
|
||||||
#aux prepare_devs 5
|
aux prepare_devs 1
|
||||||
|
|
||||||
|
# basic dmstats create commands
|
||||||
|
|
||||||
|
dmstats create "$dev1"
|
||||||
|
dmstats create --start 0 --len 1 "$dev1"
|
||||||
|
dmstats create --segments "$dev1"
|
||||||
|
dmstats create --precise "$dev1"
|
||||||
|
dmstats create --bounds 10ms,20ms,30ms "$dev1"
|
||||||
|
|
||||||
# FIXME: some actual tests here.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user