[lvm-devel] master - tests: open-file-limit skip without prlimit

David Teigland teigland at sourceware.org
Wed Sep 11 19:02:20 UTC 2019


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=31b6a04e4c1e851dc9d51c42a6cb54a82afeb4b4
Commit:        31b6a04e4c1e851dc9d51c42a6cb54a82afeb4b4
Parent:        69b7c00a77e09d23d57eef9d35afb1dc4663478c
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Wed Sep 11 13:55:47 2019 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Wed Sep 11 14:01:55 2019 -0500

tests: open-file-limit skip without prlimit

---
 test/shell/open-file-limit.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/shell/open-file-limit.sh b/test/shell/open-file-limit.sh
index 87b0f7e..6bd632d 100644
--- a/test/shell/open-file-limit.sh
+++ b/test/shell/open-file-limit.sh
@@ -16,6 +16,8 @@ SKIP_WITH_LVMLOCKD=1
 
 . lib/inittest
 
+prlimit -h || skip
+
 aux lvmconf 'devices/pv_min_size = 1024'
 
 aux prepare_devs 200 1




More information about the lvm-devel mailing list