Zdenek Kabelac
34c55d98ee
tests: add LVM_LOG_FILE_MAX_LINES
...
When logging to epoch files we would like to prevent creating too large
log files otherwise a spining command could fulfill available space
very easily and quickly.
Limit for to 100000 per command.
2016-07-11 12:43:28 +02:00
Zdenek Kabelac
0d5b9deff2
tests: use own PID path for lvmetad checking
...
Do not try to check PID of running lvmetad and use own path.
2016-03-14 23:45:45 +01:00
David Teigland
0236a34224
tests: updates for check_lvmlockd
...
Move the lvmlockd-related setup functions into aux.
For check_lvmlockd_test, start a new instance of
lvmlockd --test for each shell test.
2016-02-23 14:00:28 -06:00
David Teigland
f54253d396
tests: add SKIP_WITH_LVMLOCKD
...
to all tests that don't already used vgcreate $SHARED
2016-02-23 09:28:48 -06:00
Zdenek Kabelac
fcbef05aae
doc: change fsf address
...
Hmm rpmlint suggest fsf is using a different address these days,
so lets keep it up-to-date
2016-01-21 12:11:37 +01:00
Zdenek Kabelac
76cff10a73
tests: avoid reading utils when skipping
...
Save even more CPU/time and avoid reading utils, when skipping test.
2015-10-27 16:00:09 +01:00
Zdenek Kabelac
a2dd1f6e19
tests: support skip flags
2015-10-26 23:57:47 +01:00
Zdenek Kabelac
8cc21354c2
tests: better regex check
...
Enhance check for matching prefix.
2015-10-13 16:02:20 +02:00
Zdenek Kabelac
277dd0aa7a
tests: check devices with prefix aren't in use
...
Avoid running tests, when prefix already exist in the system.
As prefix just uses PID number, we may hit a case for long
running tests, where devices from some previous runs were not
properly cleared away - detect this and fail early.
(Such machine should be inspected and fixed).
2015-10-06 15:23:55 +02:00
David Teigland
fe70b03de2
Add lvmlockd
2015-07-02 15:42:26 -05:00
Zdenek Kabelac
c254743ef3
tests: drop debug print
2015-05-27 11:10:43 +02:00
Ondrej Kozina
e587b0677b
lvmpolld: Add standalone polldaemon.
...
See doc/lvmpolld_overview.txt
2015-05-09 00:59:18 +01:00
Zdenek Kabelac
3f05e662bb
tests: validate passed LVM_TEST_DEVDIR
...
Quit test early if passed LVM_TEST_DEVDIR dir does not exists.
2015-05-04 10:15:56 +02:00
Zdenek Kabelac
abdfb1e75b
tests: configure use_lvmetad when needed
2015-05-01 22:49:38 +02:00
Zdenek Kabelac
9c7063ef89
tests: free -h is quite new option
...
Stay with -g and and ignore failure.
2015-05-01 15:40:04 +02:00
Zdenek Kabelac
c18e969e30
tests: move conf preparing
...
If the test in the middle is restarting lvmetad
avoid conf regenerating.
2015-05-01 15:07:58 +02:00
Zdenek Kabelac
f48a4c391c
tests: watch out for RAM size
...
Reduce mem-requirements on low memory boxes,
activate less volumes if machine is below 0.5G.
Also print mem size at test header.
2015-05-01 15:07:58 +02:00
Zdenek Kabelac
244ca7ee77
tests: minimize teardown when uneeded
...
If test has not yet initilized any device,
make teardown a bit faster.
2015-04-29 15:09:58 +02:00
Zdenek Kabelac
caa9223c85
tests: update to renamed envvars
...
Enhance 'not' so 'should' now shows log trace from
command which has failed but should not.
2015-04-20 19:18:56 +02:00
Zdenek Kabelac
cf4df9e349
tests: use new debug logging feature
...
Enhance 'not' to manage autodeletion of log files in right cases.
Use separately marked epoch log files for clvmd and dmeventd.
Properly manage stack tracing for new debug.log names.
2015-04-20 12:12:22 +02:00
Zdenek Kabelac
43a6f9e726
tests: move print of replaced vars
2015-04-15 15:09:45 +02:00
Zdenek Kabelac
c969e05aab
tests: avoid dup of lvm.conf
...
When running lvmetad test - avoid duplicate create of lvm.conf
Also as lvmetad cannot be used with cluster make it as 2 code paths.
2015-04-14 10:11:35 +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
65d95caad5
tests: respect LVM_TEST_DIR
...
Check for empty LVM_TEST_DIR
(regression from 48275c7836
)
2015-02-12 15:38:50 +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
5698953948
test: Use the new flavour setup files in lib/inittest.
2015-02-05 13:47:17 +01: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