Ondrej Kozina
96124c6c0b
tests: [new] check pvmove resume works as expected
...
various methods of resuming interrupted pvmove are tested:
- pvmove
- pvmove -b
- lvchange
- vgchange
tests for commits:
- c26d81d6e6
- fe30658a4d
2015-04-13 20:53:18 +02:00
Zdenek Kabelac
e4261ba037
tests: update runner
...
Reenable TESTDIR & PREFIX replacement.
Since we need to replace string in proper order (1st. @TESTDIR@,
2nd. @PREFIX@), drop map and use plain string.
Drop timestamp logging when 'stacktracing'
2015-04-13 16:38:32 +02:00
Zdenek Kabelac
0aef2b719f
tests: log parallel debug.log usage as problem
2015-04-13 16:38:32 +02:00
Zdenek Kabelac
0457224feb
tests: sections in test separated
...
Use <======== to separate sections.
Use ## to prefix these outputs.
Drop $top_srcdir from sed (it's been replacing '..')
Hide more /dev dirs.
2015-04-13 16:38:31 +02:00
Zdenek Kabelac
f080ebc123
tests: hide unwanted output
2015-04-13 16:38:31 +02:00
Zdenek Kabelac
1a7c9ce3bd
tests: handle debug.log from clvmd
...
When clvmd starts, it starts it's own command logging into debug.log.
This is interferring with our other command debug.log.
As as sideeffect we may experience log from command,
followed but lots of zeros and continued with clvmd log.
Fix it by renaming debug.log and now we could also print this trace
to get full list of clvmd activity nicely.
Also improve some post-mortem prints from udevadm and dmsetup to
make the output more usable.
2015-04-09 13:13:36 +02:00
Zdenek Kabelac
ebde60beab
tests: use single lvmconf call
2015-04-08 23:19:37 +02:00
Zdenek Kabelac
a5b34f0f1b
tests: put "" around dev path
2015-04-08 23:19:37 +02:00
Zdenek Kabelac
8fdca0de79
tests: check scsi_debug support opt_blks
...
Some older kernels (i.e. lenny) do not have such options.
2015-04-07 14:59:13 +02:00
Zdenek Kabelac
64353ff74b
tests: when test fails collect more info
...
In some case it might be worth to know some more surrouding info
when command has crashed.
So collect tables and some udev db content in this case.
2015-04-07 13:40:15 +02:00
Zdenek Kabelac
87cb0a3e9f
tests: change default to 30s.
...
Keep rather the default lower and avoid to pass it with every call.
2015-04-03 19:40:43 +02:00
Zdenek Kabelac
93ab6d5184
tests: better check for empty set
...
Even when no arg is passed - there is still one "" arg there...
So taky it easy and check for empty string instead.
2015-04-03 16:38:05 +02:00
Zdenek Kabelac
d3a591a7b3
tests: hide unwanted output
2015-04-03 14:54:22 +02:00
Zdenek Kabelac
dc41859220
tests: enhance delay_dev
...
Use common code for error_dev & delay_dev.
Both functions now take list of sectors.
From now on we could delay just 'extent' section, while
keeping running lvm commands fast (having native metadata area).
2015-04-03 14:53:36 +02:00
Zdenek Kabelac
bd84389c68
tests: add get first_extent_sector
...
Trvial function to figure out sector position of 1st. extent.
2015-04-03 14:20:03 +02:00
Zdenek Kabelac
308f9bcc18
tests: simplify check sysfs_queue
...
Pass just device name and let figure out
sysfs path inside the function.
2015-04-03 10:27:00 +02:00
Zdenek Kabelac
a16324b0d3
tests: drop check for awk
2015-04-02 13:38:41 +02:00
Zdenek Kabelac
7a6e3838e9
tests: add check sysfs_queue
...
Add check function for content of /sys/block/$1/queue/$2 == $3
2015-04-02 13:38:41 +02:00
Ondrej Kozina
7c66850ce5
tests: add helper routine for pvmove status check
2015-03-30 18:38:50 +02:00
Zdenek Kabelac
f08154cc7b
tests: update aux
...
When we use /dev/loopX device - shift first PV1 sector by 1M
so /dev/loop0 and dm device do not appear as same device.
Also notify lvmetad once 'devs' are created - so in case this
command is called in the middle of test - lvmetad properly
drops its metadata for these devices.
Drop used test.img file between reuse so the 'prepare_vg'
always starts with zeroed disks.
When LVM_TEST_AUX_TRACE is set, allow shell tracing of aux commands.
2015-03-26 15:10:31 +01:00
Zdenek Kabelac
21343ffbfe
tests: start clvmd without lib/
2015-03-20 11:08:21 +01:00
Zdenek Kabelac
e4fa756385
tests: export shell vars
...
Export vars so they are visible in 'aux' calls as well.
(reenables cluster testing)
2015-03-19 11:23:44 +01:00
Zdenek Kabelac
eded54df7b
tests: avoid loop on older system
...
Cleanup overload of 'push'.
Don't busy-loop when reading is finished.
2015-03-12 00:07:45 +01:00
Zdenek Kabelac
26f5ec0e98
tests: update runner
...
Avoid busy-looping on CPU while reading socket pipe
and always call read only when select tells there is
something for read.
Change the batch output to old nicer output.
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
243a135fe9
tests: capture and print thrown errors
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
bdf4e3e2f2
tests: do not leak in mem in destructor
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
6cecf61cc3
tests: cleanup some cxx warnings
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
3f7e62b340
tests: enable kmsg by default
...
By default we want to capture kernel log into test trace
(since when test crashes it could be problem to reproduce).
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
db5166fbfa
tests: extend test timeout to 180sec
...
Some test could take more then minute (with slow udev and slow
emulation) - extend timeout to 180sec.
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
85ef614b37
tests: slightly more efficient vgcreate
...
With larger set of devices it's faster to directly call
vgcreate on empty set of devices then going though separate
pvcreate call first.
2015-03-06 14:05:06 +01:00
Zdenek Kabelac
10b8d2a4ea
tests: hide uninteresting output
...
We don't care about diff output.
2015-02-17 15:54:21 +01:00
Zdenek Kabelac
d303d9973f
tests: BACKING_DEV
...
Reset BACKING_DEV when it's same as LOOP.
Reset only 64K - so just eats a bit less space from underlaying loop
devices...
2015-02-12 15:40:52 +01:00
Zdenek Kabelac
739b751046
tests: don't crash if checked string is shorter
...
Not really sure what is this testing - just avoid coredump if
the test cannot happen since the index would too high.
2015-02-12 15:38:51 +01:00
Zdenek Kabelac
65d95caad5
tests: respect LVM_TEST_DIR
...
Check for empty LVM_TEST_DIR
(regression from 48275c7836
)
2015-02-12 15:38:50 +01:00
Marian Csontos
0e9f3dba75
test: Fix missing return in new test harness.
2015-02-12 13:28:26 +01:00
Marian Csontos
a8b45b7a4c
test: Fix harness not building on RHEL5
2015-02-10 17:02:01 +01:00
Petr Rockai
4686b8cea5
test: Fix a segfault in the test runner.
2015-02-05 13:51:06 +01:00
Petr Rockai
45e2aee8f9
test: It is not an error for a test daemon to exit before teardown.
2015-02-05 13:51:06 +01:00
Petr Rockai
78ba413ed1
test: Remove spurious set -x in lvm-wrapper.
2015-02-05 13:51:06 +01:00
Petr Rockai
d8983d4bd4
test: Properly detect warnings from testcases.
2015-02-05 13:51:06 +01:00
Petr Rockai
c96e42006d
test: Only force an IO sync when the testcase has finished.
2015-02-05 13:51:06 +01:00
Petr Rockai
210a66fbf8
test: Make killing local (test) daemons more robust.
2015-02-05 13:51:06 +01:00
Petr Rockai
1f727f3f3d
test: Call $VALGRIND directly in lvm-wrapper.
2015-02-05 13:51:06 +01:00
Petr Rockai
5d833fd458
test: Add support for running LVM commands in tests through strace.
2015-02-05 13:50:34 +01:00
Petr Rockai
a6d006d9db
test: Make lvm-wrapper available in the installed testsuite, too.
2015-02-05 13:50:33 +01:00
Petr Rockai
c2b7642d4d
test: Fix prepare_scsi_debug_dev.
2015-02-05 13:47:21 +01:00
Petr Rockai
7a0aa25c28
test: Re-try with loopback if a backing device is too small.
2015-02-05 13:47:21 +01:00
Petr Rockai
c82c69bb56
test: Update brick-shelltest (configurable timeout, better banner, exit code).
2015-02-05 13:47:20 +01:00
Petr Rockai
7ed8fc8f7d
test: Update brick-shelltest.h.
2015-02-05 13:47:20 +01:00
Petr Rockai
19bb62e2ec
test: Update brick-shelltest, adding timestamps to logs.
2015-02-05 13:47:20 +01:00
Petr Rockai
8646b50aa9
test: Package up the test runner in a reusable C++ "brick".
2015-02-05 13:47:19 +01:00
Petr Rockai
eec99ffa8c
test: Implement --fatal-timeouts to allow a timely VM restart.
2015-02-05 13:47:19 +01:00
Petr Rockai
34e818042e
test: Make the runner's heartbeat more reliable.
2015-02-05 13:47:19 +01:00
Petr Rockai
f0d314bd6d
test: Disable lvmetad logging in lvconvert-{mirror,raid}*.
2015-02-05 13:47:19 +01:00
Petr Rockai
d488f03229
test: Implement --only option to runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
a8eb702093
test: Fix loading of an append-mode journal.
2015-02-05 13:47:18 +01:00
Petr Rockai
d74c147223
test: Add a missing copyright/licence notice to journal.h.
2015-02-05 13:47:18 +01:00
Petr Rockai
10c992e861
test: Fix a precedence bug in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
b3caba849d
test: Use append for journal maintenance instead of rename.
2015-02-05 13:47:18 +01:00
Petr Rockai
23b5a006d4
test: Implement specialised --batch output style w/ rusage stats.
2015-02-05 13:47:18 +01:00
Petr Rockai
a665b90623
test: Add time/rusage formatting to the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
3fbea6029d
test: Print a heartbeat file (every 20s) in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
e8cc9254e0
test: Avoid sleeps in the runner monitoring loop.
2015-02-05 13:47:18 +01:00
Petr Rockai
48275c7836
test: Run in /tmp if LVM_TEST_DIR is unset.
2015-02-05 13:47:18 +01:00
Petr Rockai
246fecee27
test: Rename the --quiet option to --batch.
2015-02-05 13:47:18 +01:00
Petr Rockai
feb2c7bc47
test: Targets and sources can't have the same name if builddir == srcdir.
2015-02-05 13:47:18 +01:00
Petr Rockai
2bc76bcdab
test: Run the testcases chdir'd into --testdir.
2015-02-05 13:47:18 +01:00
Petr Rockai
efb3e7ca00
test: Improve IO handling in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
8c8fb67fc2
test: Improve tracking of silence (stuck testcases) in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
dc1d157878
test: Make the runner's journal more reliable.
2015-02-05 13:47:17 +01:00
Petr Rockai
d27833ba7c
test: Implement flavours in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
f3bf89ebcc
test: Fix handling of envvars in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
b4215f956f
test: Make it possible to run tests from an installed location.
2015-02-05 13:47:17 +01:00
Petr Rockai
5698953948
test: Use the new flavour setup files in lib/inittest.
2015-02-05 13:47:17 +01:00
Petr Rockai
9752ee8ed2
test: Fix IO sink destructors in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
df27c64041
test: Add a buffer-backed IO sink (for interactive runs).
2015-02-05 13:47:17 +01:00
Petr Rockai
f53fcc0746
test: Implement a file-backed IO sink in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
bdd0bc83eb
test: Make runner use bigger IO buffers, put them on stack.
2015-02-05 13:47:17 +01:00
Petr Rockai
7957fc4a44
test: Allow test devices backed by a permanent block device.
2015-02-05 13:47:17 +01:00
Petr Rockai
c5a120c443
test: Add new flavour definition files.
2015-02-05 13:47:17 +01:00
Petr Rockai
fa46385164
test: Write a results/list at the end of a test run.
2015-02-05 13:47:17 +01:00
Petr Rockai
bf16937869
test: Clean up fds properly in the runner.
2015-02-05 13:47:16 +01:00
Petr Rockai
d2dbc65f00
test: Implement journalling and --continue.
2015-02-05 13:47:16 +01:00
Petr Rockai
9dfbce0aa7
test: Split up the new runner into multiple files.
2015-02-05 13:47:16 +01:00
Petr Rockai
f476655fee
test: Import first draft of a new test runner.
2015-02-03 08:49:35 +01:00
Zdenek Kabelac
c75548300d
tests: prepare control node before clvmd
...
Make sure there is 'control' node before clvmd is started.
Somehow 'clvmd' is not allowed by selinux to create one.
TODO: Check is selinux policy is right here...
2014-11-19 23:22:52 +01:00
Zdenek Kabelac
740fcdae7d
tests: thin repair testing
...
More checks for thin related tools.
Add same functionality for cache related tools.
2014-11-17 00:41:33 +01:00
Zdenek Kabelac
3a1c609ac4
tests: reduce number of sync waiting
...
Lets assume faster systems, if we have too big raid arrays,
reduce them.
2014-11-17 00:34:44 +01:00
Zdenek Kabelac
776934aa08
tests: skip another older kernel from raid456
2014-11-17 00:32:49 +01:00
Zdenek Kabelac
21aa850b43
tests: add helper funcionality for using gdb
...
When there is need for using gdb within test suite
just prefix command with LVM_DBG and run test in
standard shell (for stdin).
2014-09-24 10:54:48 +02:00
Zdenek Kabelac
10a448eb2f
tests: update lv_no_exists
...
On successful exit path remove debug.log file.
2014-09-15 13:51:19 +02:00
Zdenek Kabelac
8d63d94d85
tests: still unusable kernel
2014-07-23 00:29:32 +02:00
Zdenek Kabelac
d1094ec4c6
tests: replace cat with $(<
...
Use shell built-in $(<
Print lvm.conf in use for test.
2014-07-02 10:45:44 +02:00
Zdenek Kabelac
6fb19f37fe
tests: wait for udev
...
Before test exits, wait for udev.
2014-06-17 13:43:04 +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
eda4c3a41d
test: Make it possible to enable/disable devices silently.
2014-06-08 21:10:47 +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
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
b7476e91ef
tests: add unusable kernel for raid5 testing
2014-05-23 23:35:42 +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
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
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
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
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
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
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
504c328e3d
tests: add profiles-thin and prepare_profiles helper fn
2014-04-01 15:52:54 +02: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
fb471a372d
tests: remove also 3.14 fc21 kernels
2014-03-26 00:04: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
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
1a0fea104b
tests: put test envvar into braces
...
Ensure we not fail on space.
2014-03-17 14:31:45 +01:00
Zdenek Kabelac
7d3fa6fc32
tests: skip more Fedora kernels for raid456
2014-03-17 14:31:44 +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
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
Peter Rajnoha
cfc9e178bf
tests: fix name-mangling test and remove udev transaction in dmsetup wrapper
2014-03-06 14:46:50 +01:00
Zdenek Kabelac
08aedff1fc
tests: testing usable of /dev/kmsg
...
It's not so easy to recongnize unusable /dev/kmsg
Reorder the code in a way if the first regular read of /dev/kmsg
fail, fallback to klogctl interface.
Call drain_dmesg also for the case there is no user log output.
2014-03-04 17:54:33 +01:00
Zdenek Kabelac
9a99cb8c79
tests: hide error message
...
Make the logging looks normal for this case
2014-03-04 16:41:07 +01:00
Zdenek Kabelac
a01e2ff81c
tests: print kernel version
2014-03-04 16:27:00 +01:00
Zdenek Kabelac
b47bdb4dca
tests: check readability of /dev/kmsg
...
Looks like there are systems with /dev/kmsg device,
which is however not readable
Fix check for result value of klogctl and use only positive value.
2014-03-04 16:27:00 +01:00
Zdenek Kabelac
30810de1b0
tests: reinstantiate support for klogctl
...
Add a bit more complexity here - Switch to use /dev/kmsg
which has been introduced in 3.5 kernels and could run without
lossing lines from /proc/kmsg.
On older systems user may set env var LVM_TEST_CAN_CLOBBER_DMESG=1
to get kernel messages via klogctl() call (which deletes dmesg buffer)
otherwise no logging of kernel messages is provided.
2014-03-04 15:18:19 +01:00
Petr Rockai
cb77bdc253
test: Make teardown (more) resistant to funny DM device names.
2014-03-04 11:16:00 +01:00
Zdenek Kabelac
d739e16d85
tests: restore .txt suffix
2014-03-03 19:30:48 +01:00
Zdenek Kabelac
719261a33a
tests: speedup kmsg processing
...
Since there could be multiple readers of kmsg (test & journald) it needs
to be fast, to capture things like sysrq trace.
But to capture whole output it would need to prioritize reading of kmsg,
thus we would first log kernel messages and followed by command output.
As a trade-off always log command output first and use large drain
buffer so is captures most of messages, but occasionaly miss some
lines.
2014-03-03 19:30:47 +01:00
Zdenek Kabelac
6df716332c
tests: detect nc or socat
...
Since shell is not in -o pipefail mode here,
we need to generate separate failure ahead of tee.
2014-03-02 21:48:28 +01:00
Zdenek Kabelac
6c377f5b3c
tests: restore usage of reading kmsg
...
Basically reverts commit af8580d756
.
"test: Use klogctl in the harness instead of reading /var/log/messages."
Problem is - this interface clears dmesg buffer
(just like call of dmesg -c)
Thus after running lvm2 test suitedmesg is empty - while all the
messages are usually logged in the journal/message, it's still not nice to
clear dmesg buffer.
It's not a pure revert, but switch to use /proc/kmsg directly instead of
reading /var/log/messages.
2014-03-02 21:30:26 +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
75b5855ca1
tests: report selinux mode
2014-03-02 21:27:26 +01:00
Petr Rockai
3b958984f1
test: Properly synchronize direct dmsetup calls.
2014-03-02 20:53:43 +01:00
Petr Rockai
6733ac86d7
test: Fix the failing branch in aux lvmetad_talk.
2014-02-28 23:30: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
8e814eb899
test: Fix notify_lvmetad for symlinked devices.
2014-02-28 11:23:53 +01:00
Zdenek Kabelac
f8780e2d79
tests: drop mirror from filter
2014-02-24 21:13:36 +01:00
Jonathan Brassow
fdb7356d6a
test: Add cache[pool] support to lv_tree_devices_ test suite function.
2014-02-24 10:40:00 -06:00
Zdenek Kabelac
0be6caba6e
tests: drop more debug.log
...
Avoid login result from last lvm command when target_at_least fails.
2014-02-17 22:25:53 +01:00
Zdenek Kabelac
177db48c11
tests: add check lv_not_exists
2014-02-11 19:00:06 +01:00