1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: faster creation of 200 PVs

Use already existing optmized aux version
This commit is contained in:
Zdenek Kabelac 2023-10-02 16:41:52 +02:00
parent 80899f7010
commit 19df4510c2

View File

@ -20,11 +20,7 @@ prlimit -h || skip
aux lvmconf 'devices/pv_min_size = 1024'
aux prepare_devs 200 1
for i in $(seq 1 200); do
pvcreate "$DM_DEV_DIR/mapper/${PREFIX}pv$i"
done
aux prepare_pvs 200 1
pvs > out
test "$(grep -c pv out)" -eq 200