From 19df4510c2046a23f80034346a87ab55b0ae9f51 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 2 Oct 2023 16:41:52 +0200 Subject: [PATCH] tests: faster creation of 200 PVs Use already existing optmized aux version --- test/shell/open-file-limit.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/shell/open-file-limit.sh b/test/shell/open-file-limit.sh index 8e047057e..35f761eee 100644 --- a/test/shell/open-file-limit.sh +++ b/test/shell/open-file-limit.sh @@ -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