Joe Thornber
9573ff3a3b
test/unit: Rename Makefile.in -> Makefile
...
There's nothing being expanded.
2018-06-08 09:50:40 +01:00
Joe Thornber
0d22b58172
liblvm: remove lvmapi
...
This has been deprecated for a while.
2018-06-08 09:38:05 +01:00
Joe Thornber
60db97ae1d
test/unit: activation generator unit tests
2018-06-07 16:24:42 +01:00
David Teigland
e966752b86
tests: system_id remove clustered vg test
2018-06-07 16:17:04 +01:00
David Teigland
229582c97c
tests: remove -cn option from some commands
2018-06-07 16:17:04 +01:00
Joe Thornber
bd8c6cf862
scripts/lvm2_activation_generator_systemd_red_hat: rewrite to use lvmconfig
...
Unit tested the new code, but not run functional tests (assuming they exist).
2018-06-07 16:15:04 +01:00
Heinz Mauelshagen
3810fd8d0d
test: add convcenience conversion tests linear <-> striped
...
Add tests for linear <-> striped|raid* conversions.
Add region_size config to reshape tests to avoid test
failures in case of it being defined unexpectedly in lvm.conf.
Related: rhbz1439925
Related: rhbz1447809
2018-06-05 16:23:18 +02:00
Joe Thornber
232918fb86
build: libbase.a
2018-06-04 13:53:07 +01:00
Joe Thornber
dbba1e9b93
Merge branch 'master' into 2018-05-11-fork-libdm
2018-06-01 13:04:12 +01:00
David Teigland
885eb2024f
tests: enable non-working tests with lvmlockd
...
Those that are failing for reasons other than lvmlockd
restrictions.
2018-05-31 16:18:53 -05:00
David Teigland
00f6a8466e
tests: enable more working tests with lvmlockd
2018-05-31 16:13:58 -05:00
David Teigland
caa600a409
tests: enable lvcreate-pvtags with lvmlockd
2018-05-31 15:37:25 -05:00
David Teigland
4a01e4f389
tests: enable metadata-balance with lvmlockd
2018-05-31 15:12:34 -05:00
David Teigland
08771bbbbf
tests: enable lvmlockd with tests using lvcreate -H -L LV
2018-05-31 14:49:16 -05:00
David Teigland
2beb3009bd
tests: change lvcreate syntax to allow lvmlockd
...
Using the less ambiguous lvcreate syntax for creating a
cache LV allows more tests to run with lvmlockd.
2018-05-30 16:40:03 -05:00
David Teigland
214235367b
tests: enable lvcreate cache tests with lvmlockd
...
Tests that want to use lvcreate to create a new
origin LV and then combine it with an existing
cache pool to create a cache LV.
2018-05-30 15:56:08 -05:00
David Teigland
27495a3555
tests: enable pvmove-restart with lvmlockd
2018-05-30 13:56:06 -05:00
David Teigland
05ee83579b
tests: enable vg repair tests with lvmlockd
2018-05-30 12:57:46 -05:00
David Teigland
063d065388
tests: add missing file
2018-05-30 09:25:45 -05:00
David Teigland
abba06fb3b
tests: process-each-duplicate-pvs update for lvmlockd
2018-05-30 09:25:45 -05:00
David Teigland
5c5e449dc5
lvmlockd: fix vgimportclone of a shared VG
...
The new VG from the duplicate PV is imported
as a local VG.
2018-05-30 09:25:45 -05:00
David Teigland
a40d447a02
tests: vgchange-usage update for lvmlockd
2018-05-30 09:25:45 -05:00
David Teigland
95cf127134
tests: vgcreate-usage update for lvmlockd
2018-05-30 09:25:45 -05:00
David Teigland
595196bc29
tests: enable lvmlockd for passing tests
2018-05-30 09:25:45 -05:00
David Teigland
cd369d8a7f
tests: separate lvmlockd tests with or without lvmetad
2018-05-30 09:25:45 -05:00
David Teigland
6a44dceb48
tests: some missed skip with lvmlockd
2018-05-30 09:25:45 -05:00
David Teigland
5ac9f8d631
tests: fix skipping logic for lvmpolld and lvmlockd
2018-05-30 09:25:45 -05:00
Joe Thornber
06c789eda1
radix-tree: fix some bugs in remove_prefix and iterate
...
These weren't working if the prefix key was part of a prefix_chain.
2018-05-30 14:21:27 +01:00
Joe Thornber
1924426ad1
radix-tree: radix_tree_iterate()
2018-05-29 17:58:58 +01:00
Joe Thornber
c2a8bbed3b
radix-tree: radix_tree_remove_prefix()
2018-05-29 13:25:59 +01:00
Joe Thornber
0181c77e3f
Merge branch '2018-05-29-radix-tree-iterate' into 2018-05-23-radix-tree-remove
2018-05-29 11:04:32 +01:00
Joe Thornber
033df741e2
data-struct/radix-tree: pass the value dtr into create.
...
Rather than having to pass it into every method that removes items.
2018-05-29 11:03:10 +01:00
David Teigland
28c8e95d19
scan: refresh paths and retry open
...
If scanning fails to open any devices, refresh the
device paths in dev cache, and retry the opens.
2018-05-25 13:09:07 -05:00
Zdenek Kabelac
3702f39ef3
tests: improve usability on older systems
2018-05-24 16:02:31 +02:00
Zdenek Kabelac
a90de76fd8
tests: checking scanning correctness
2018-05-24 11:22:32 +02:00
Zdenek Kabelac
f865e1bf87
tests: passthrough args with extend_filter_LVMTEST
...
Don't rebuild config twice.
2018-05-24 11:22:59 +02:00
Zdenek Kabelac
89f34eaf0c
tests: correcting symlink manipulation
...
Fix symlink and add 'verbose' pvs for a while for checking
scanning correctness.
2018-05-24 11:22:32 +02:00
Zdenek Kabelac
76a45424a7
tests: aux improve for mdadm support
...
Correcting some symlink handling.
2018-05-24 11:03:47 +02:00
Joe Thornber
6cd798f556
radix_tree_t: knock out some debug
2018-05-23 12:54:02 +01:00
Joe Thornber
b7fd8ac8eb
radix_tree: add remove method
2018-05-23 12:48:06 +01:00
David Teigland
3c9ed33f83
scan: move warnings about duplicate devices
...
We have been warning about duplicate devices (and disabling lvmetad)
immediately when the dup was detected (during label_scan). Move the
warnings (and the disabling) to happen later, after label_scan is
finished.
This lets us avoid an unwanted warning message about duplicates
in the special case were md components are eliminated during the
duplicate device resolution.
2018-05-21 16:48:02 -05:00
Zdenek Kabelac
6029d6d8d8
tests: disable symlink test
...
It's quite unclear what the test is meant to do - disable it just like
within python test.
2018-05-21 11:59:39 +02:00
Zdenek Kabelac
25a66737e3
tests: use 4K extent size
...
To work with for 4k backend devices.
2018-05-21 11:58:10 +02:00
Zdenek Kabelac
b2574c2f3a
python: use // for integer division
2018-05-18 16:25:44 +02:00
Zdenek Kabelac
3bbdde808a
tests: pick either python2 or python3 .so
...
Use matching PYTHON library implementation.
2018-05-18 16:25:44 +02:00
Zdenek Kabelac
fbf64fe730
tests; make sure python_lvm_unit.py is executable
2018-05-18 16:25:44 +02:00
Zdenek Kabelac
43fb32e761
python: use python3 paths directly
...
Do not use /usr/bin/env for path of python3 as this is seen
as 'unwanted' and should be avoided.
2018-05-18 16:25:44 +02:00
Zdenek Kabelac
5b86b0e3dc
build: set clean vars earlier
...
For better cleaning of test dirs.
2018-05-18 16:25:44 +02:00
Heinz Mauelshagen
a39eaea27d
tests: fix kernal_at_least argument in aux.sh
2018-05-17 14:41:47 +02:00
Rick Elrod
8c453e2e5e
cleanup: fix grammar in output - less then -> less than
...
This minor patch fixes grammar in a few messages which get
printed to users. It also fixes the same grammar mistake in
several comments.
Signed-off-by: Rick Elrod <relrod@redhat.com>
--
2018-05-17 10:37:45 +02:00