Peter Rajnoha
ef43a50926
tests: update lvcreate-thin for latest changes
...
With recent changes introduced with the report selection support,
the content of lv_modules field is of string list type (before
it was just string type).
String list elements are always ordered now so update lvcreate-thin
test to expect the elements to be ordered.
2014-06-17 18:20:08 +02:00
Peter Rajnoha
0d8e94ce2e
tests: select: add test for report selection feature
2014-06-17 16:27:21 +02:00
Peter Rajnoha
cfed0d09e8
report: select: refactor: move percent handling code to libdm for reuse
2014-06-17 16:27:21 +02:00
Zdenek Kabelac
378fa9d158
tests: check new snapshot skills
2014-06-17 13:43:05 +02:00
Zdenek Kabelac
8403bbd4ad
tests: detect version of thin_restore command
...
Skip test when missing.
2014-06-17 13:43:05 +02:00
Zdenek Kabelac
6fb19f37fe
tests: wait for udev
...
Before test exits, wait for udev.
2014-06-17 13:43:04 +02:00
Jonathan Brassow
962a40b981
cache: Properly rename origin LV tree when adding "_corig"
...
When creating a cache LV with a RAID origin, we need to ensure that
the sub-LVs of that origin properly change their names to include
the "_corig" extention of the top-level LV. We do this by first
performing a 'lv_rename_update' before making the call to
'insert_layer_for_lv'.
2014-06-16 18:15:39 -05:00
Zdenek Kabelac
cf4d5ead02
test: pvs bz1108394
2014-06-12 11:56:06 +02:00
Zdenek Kabelac
c230ae95ab
tests: change to inittest
2014-06-11 17:46:55 +02:00
Zdenek Kabelac
3f81b7c55c
tests: update vgchange -c
...
Vgchange now detects runnig clvmd - so update test to reflect this.
2014-06-11 11:11:10 +02:00
Peter Rajnoha
6766cdc8a1
tests: some more renames lib/test -> lib/inittest
2014-06-11 11:07:32 +02: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
Zdenek Kabelac
9f68aadb74
tests: make timeouts longer
...
Add more time for tests, since debug kernels are getting slower...
and we add more and more tests.
However many test should be shortened to avoid testing disk-perfomance
and focus on lvm functionality...
(Often we should probably test with inactive volumes when we check
metadata operation of lvm2)
We may need to support option for 'DEEP' longer testing.
Also something like LVM_TEST_TIMEOUT_FACTOR might be useful
though it would be much better if test suite could approximete
from system perfomance test lenght...
2014-06-10 10:51:26 +02:00
Petr Rockai
4bb1efe2fb
test: Reflect that --sysinit only treats lvmetad specially with -aay (not -ay).
2014-06-08 23:37:08 +02:00
Petr Rockai
ee200ddfc3
pvremove: Update lvmcache => avoid spurious error messages.
2014-06-08 22:57:04 +02:00
Petr Rockai
150165591f
test: Try harder to vgremove in lvmetad-lvm1.sh.
2014-06-08 22:01:02 +02:00
Petr Rockai
b3bdd41092
lvm1: Fail vg_write graciously when devices are missing.
2014-06-08 21:57:18 +02:00
Petr Rockai
60443d6a5d
test: Fix the vgck test after vg_write change.
2014-06-08 21:10:47 +02:00
Petr Rockai
f58a7f305b
test: Fail devices silently in lvconvert-repair-transient.sh.
2014-06-08 21:10:47 +02:00
Petr Rockai
eda4c3a41d
test: Make it possible to enable/disable devices silently.
2014-06-08 21:10:47 +02:00
Peter Rajnoha
14f482077d
cleanup: default.profile is not used (and it was split in two and renamed anyway)
2014-06-06 10:24:50 +02:00
Zdenek Kabelac
de12310c45
tests: disable python failing test
...
Aborts and needs fixes...
2014-06-05 23:07:23 +02:00
Zdenek Kabelac
7b8133e0b2
tests: fix test compare
...
Comparing 64T can't use -eq
2014-06-05 23:06:45 +02:00
Zdenek Kabelac
eb7ca96b59
tests: adapt test for newline delimit
...
content of DEVICES is now delimited by newlines
2014-06-05 23:05:52 +02:00
Zdenek Kabelac
c4e0c61272
tests: typo
2014-06-05 17:49:35 +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
77d4e317a4
tests: use manglename none for dmsetup
2014-06-05 17:49:34 +02:00
Zdenek Kabelac
9196942312
tests: add get_devs function
...
Instead of rereading device list via cat - keep
the list in bash array. (Also solves problem
with spaces in device path)
Move usage of "$path" out of lvm shell usage,
since we don't support such thing there...
2014-06-05 17:49:34 +02:00
Zdenek Kabelac
223bdc5eb2
tests: use shell arrays to keep device names
...
Better preserving spaces in device path name,
though admitely rest of test suite need
more repairs...
2014-06-05 17:49:34 +02:00
Zdenek Kabelac
21db25b3c4
tests: fix use of double apostrophes in get
...
Need to put "" around parameters.
2014-06-05 17:49:34 +02:00
Jonathan Brassow
4454a580df
test: use direct I/O when injecting bad data into RAID images
...
When directly corrupting RAID images for the purpose of testing,
we must use direct I/O (or a 'sync' after the 'dd') to ensure that
the writes are not caught in the buffer cache in a way that is not
reachable by the top-level RAID device.
2014-05-30 17:26:10 -05:00
Zdenek Kabelac
8212dac849
tests: rename test
2014-05-28 15:41:06 +02:00
Zdenek Kabelac
171a668e81
tests: dd needs to hit disk
...
Unsure if this is feature or bug of syncaction,
but it needs to be present physically on the media
and it ignores content of buffer cache...
(maybe lvchange should implicitely fsync all disks
that are members of raid array before starting test??)
2014-05-28 15:33:41 +02:00
Zdenek Kabelac
ba3e6e7c32
tests: raid syncaction activation race
...
Demonstrace problem of syncaction being called right after activation.
2014-05-28 15:33:41 +02:00
Zdenek Kabelac
a67774c1fa
tests: detect same uuid on PV
...
Check we know how to handle same UUID
Test currently does NOT work on lvmetad
(or it's unclear it even should - thus test error
is currently lowered to 'test warning')
TODO: replace lib/test with a better shell script name
2014-05-27 17:09:05 +02:00
Zdenek Kabelac
b3539907f5
tests: support thin_restore configurable
...
Currently this tool is used only in tests.
2014-05-26 23:30:09 +02:00
Zdenek Kabelac
b0ff3359f2
tests: update aux disable_dev
...
disable_dev can't use transaction - since it may lead occasionaly to
weird error - example could be nomda-missing.sh test case.
Here occasionaly device instead of being removed was left as
error device and testing different code path (which is unfortunatelly
buggy)
When we want to test 'error' device - 'aux error_dev()' should be used.
2014-05-26 22:57:28 +02:00
Zdenek Kabelac
cfe18d85c1
tests: improve command coverage
2014-05-23 23:35:42 +02:00
Zdenek Kabelac
b7476e91ef
tests: add unusable kernel for raid5 testing
2014-05-23 23:35:42 +02:00
Zdenek Kabelac
c5c3995ed5
tests: increase min version for raid testing
...
Seems smaller version are causing weird kernel lookups.
2014-05-23 23:35:42 +02:00
Zdenek Kabelac
ec9da34d86
tests: check more things with vgchange
2014-05-22 12:01:44 +02:00
Zdenek Kabelac
65b0948c1e
tests: swap tests
2014-05-22 12:01:44 +02:00
Zdenek Kabelac
1208e92b34
tests: add check vg_attr_bit
...
Similar function like 'check lv_attr_bit'
2014-05-22 12:01:44 +02:00
Zdenek Kabelac
406ce3760b
tests: detect raid presence
2014-05-22 12:01:44 +02:00
Zdenek Kabelac
b2da0f0a5b
tests: raid and dmeventd
2014-05-21 23:14:42 +02:00
Zdenek Kabelac
37b4dc7775
tests: more pvchange tests
2014-05-21 23:14:42 +02:00
Zdenek Kabelac
79f4665243
tests: more vgcfgrestore testing
...
Check '-l' and archiving.
2014-05-21 23:14:41 +02:00
Zdenek Kabelac
9c4953df1b
tests: restore disable_dev behavior
...
Notify needs to go with major:minor before device disappears.
2014-05-21 16:59:38 +02:00
Zdenek Kabelac
8db67d2aff
tests: skips on unsupported systems
2014-05-21 16:48:06 +02:00
Zdenek Kabelac
c34c33d9ba
tests: notify loop needs maj:min
...
Missed in previous commit.
2014-05-21 12:00:32 +02:00
Zdenek Kabelac
cbdb8fa589
tests: notify lvmetad after udev transation
...
Delay udev notification after the point udev transaction
is finished - since otherwise some device may still
be found missing until udev transaction is finished.
2014-05-21 11:43:24 +02:00
Zdenek Kabelac
b57b4db889
tests: checking mirror_remove_missing
...
FIXME:
Seems like conversion of log is not supported in clustered VG
and needs to be fixed.
2014-05-20 22:50:52 +02:00
Zdenek Kabelac
f919a255b7
tests: lvconvert needs --yes
2014-05-20 22:50:33 +02:00
Zdenek Kabelac
08fd244506
tests: rebuild paths when Makefile is updated
2014-05-20 21:50:30 +02:00
Zdenek Kabelac
2e9792121f
tests: add have_cache and have_raid
...
Need to be aware of build options, when system would be
configure without raid or cache support
2014-05-20 21:50:30 +02:00
Zdenek Kabelac
7f92c3a13e
tests: wait before down-convert
2014-05-20 21:50:29 +02:00
Zdenek Kabelac
205be24768
tests: update lvconvert test
...
Split raid test to separate file
Add --yes flag to automated testing
2014-05-20 21:50:29 +02:00
Peter Rajnoha
83f468be4e
tests: update profiles.sh test for latest changes
2014-05-20 16:27:09 +02:00
Zdenek Kabelac
ecccb75904
tests: drop nosync
...
Mirrors currently do not support any conversion,
when they are created no-sync.
2014-05-19 13:22:46 +02:00
Zdenek Kabelac
76c06c7252
tests: speedup
...
Avoid some expencive raid/mirror synchronization when testing
just allocation sizes.
Use lv_attr_bit
2014-05-15 12:08:35 +02:00
Zdenek Kabelac
7b766b0648
tests: updates
...
Move thin test out of listing.
2014-05-13 10:28:55 +02:00
Zdenek Kabelac
6f057e3c66
tests: replance hostname call
2014-05-12 16:24:40 +02:00
Zdenek Kabelac
4e559103d5
tests: lets the test continue
...
unwanted start of dmeventd was caused by seg_monitor status.
2014-04-30 10:26:31 +02:00
Zdenek Kabelac
26989e0cd7
tests: improve coverage
...
Test more code paths for lvscan & lvdisplay
2014-04-28 12:42:57 +02:00
Jonathan Brassow
3bce3ad52a
test: Add the new vgsplit RAID test file forgotten in the last commit
2014-04-25 16:59:09 -05:00
Jonathan Brassow
c671be434c
test: Move the RAID vgsplit test into a separate file
2014-04-25 16:57:43 -05:00
Jonathan Brassow
3c4234f825
vgsplit: Make RAID 4/5/6 fail cleanly when too few PV specified
...
While the 'raid1/10' segment types were being handled inadvertently
by '_move_mirrors()', the parity RAIDs were not being properly checked
to ensure that the user had specified all necessary PVs when moving
them. Thus, internal errors were being triggered when only part of
a RAID LV was moved to the new VG. I've added a new function,
'_move_raid()', which properly checks over any affected RAID LVs and
ensures that all the necessary PVs are being moved.
2014-04-25 16:24:50 -05:00
Jonathan Brassow
4dffb9fca9
test/vgsplit-operation.sh: Add vgsplit tests for RAID
...
vgsplit of RAID volumes was problematic because the metadata area
and data areas were always on the same PVs. This problem is similar
to one that was just fixed for mirrors that had log and images sharing
a PV (commit 9ac858f
). We can now add RAID LVs to the tests for
vgsplit.
Note that there still seems to be an issue when specifying an
incomplete set of PVs when moving RAID LVs.
2014-04-25 16:22:40 -05:00
Jonathan Brassow
9ac858fe6b
vgsplit: Make vgsplit work on mirrors with leg and log on same PV
...
Given a named mirror LV, vgsplit will look for the PVs that compose it
and move them to a new VG. It does this by first looking at the log
and then the legs. If the log is on the same device as one of the mirror
images, a problem occurs. This is because the PV is moved to the new VG
as the log is processed and thus cannot be found in the current VG when
the image is processed. The solution is to check and see if the PV we are
looking for has already been moved to the new VG. If so, it is not an
error.
2014-04-25 14:53:34 -05:00
Alasdair G Kergon
0ee9d59b48
test: configurable write timeout
...
Hard-coded 3 minutes is far too short when investigating problems.
2014-04-24 22:44:22 +01:00
Alasdair G Kergon
9676ee9ba9
test: Fix default.profile path.
...
It's a generated file.
2014-04-24 18:52:29 +01:00
Zdenek Kabelac
22037ee328
tests: fix creation of scsi debug
...
Use proper '||' test form to avoid unwanted test abort
on failure.
(i.e. running failing test profiles-thin.sh on a real /dev)
2014-04-24 14:42:27 +02:00
Marian Csontos
795944f178
test: add lvresize tests
...
- test for Bug 1088153
- test lvextend does not reduce nor lvreduce extend LV
2014-04-22 12:53:30 +02:00
Zdenek Kabelac
47a60369a0
unknown: fix mempool used for name allocation
...
Use cmd libmem mempool for name allocation, since mem mempool
is released after each clvmd command.
2014-04-18 16:38:47 +02:00
Zdenek Kabelac
3c82a37aee
tests: correct test condition
...
Abort loop when PIDFILE is gone
2014-04-14 14:55:14 +02:00
Zdenek Kabelac
92ee51a4c3
tests: check there is really pvmove lv
...
Since the kill may take various amount of time,
(especially when running with valgrind)
check it's really pvmoved LV.
Restore initial restart of clvmd - it's currently
broken at various moments - basically killed lvm2
command may leave clvmd and confusing state leading
to reports of internal errors.
2014-04-14 13:02:28 +02:00
Zdenek Kabelac
4d48577ab9
tests: implement lv_attr_bit
...
Add easy check function for cheking lv_attr bits
2014-04-14 13:02:28 +02:00
Peter Rajnoha
35721ee134
tests: add test for pvcreate --dataalignment --dataalignmentoffset --restorefile compatibility
...
Also, avoid division by zero in the pvcreate's param validation
in case someone supplies "pvcreate --dataalignment 0".
2014-04-10 15:02:35 +02:00
Peter Rajnoha
05eb6a167e
tests: add separate test file for bootloader area support and enhance tests
...
Enahnce bootloader area test to check whether restoring values from
backup works correctly.
2014-04-10 14:18:59 +02:00
Peter Rajnoha
b45d2768a8
tests: add some coverage for bootloader areas
2014-04-09 15:44:26 +02:00
Zdenek Kabelac
87e559f1ec
tests: check prohibited names
2014-04-08 11:00:16 +02:00
Zdenek Kabelac
c95d43b28c
tests: update lvcreate-cache
2014-04-01 20:54:10 +02:00
Peter Rajnoha
504c328e3d
tests: add profiles-thin and prepare_profiles helper fn
2014-04-01 15:52:54 +02:00
Petr Rockai
490226fc47
pvs: Wipe persistent filters when given a device argument.
2014-04-01 14:46:22 +02:00
Peter Rajnoha
a30219a8c0
tests: update profiles.sh for recent changes
2014-04-01 11:48:49 +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
ee8708cc8e
tests: more listing tests
2014-03-31 12:05:35 +02:00
Zdenek Kabelac
8f9150c241
tests: add more pvdisplay tests
2014-03-30 23:45:00 +02:00
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
Zdenek Kabelac
c7262d5b38
tests: aux adds kill_sleep_kill_
...
Move common code to subfunction
2014-03-10 12:24:11 +01:00
Zdenek Kabelac
1c18fc42ec
tests: drop unused make_ioerror
2014-03-10 12:24:11 +01:00
Zdenek Kabelac
6cc75d1497
tests: workaround bash bug
...
Seems new bash4.3 is somewhat buggy
https://bugzilla.redhat.com/show_bug.cgi?id=1074202
Put in cheap workaround for now.
2014-03-10 12:24:10 +01:00
Zdenek Kabelac
4eed2c8142
tests: skip valgrind testing when assigned to 0
...
When LVM_VALGRIND_CLVMD/LVMETAD is set to 0 skip testing.
(Proviosly any value caused to run valgrind testing,
so now '0' skips testing))
2014-03-10 12:24:10 +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