aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-10-24 17:51:00 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-10-24 17:51:00 +0000
commit2c55a29cc681269934670ddb1b54a19802763295 (patch)
tree889b7520f18371a7e2fc3042dfd01a9d24ac9dff
parent894bc7ab7bbee5e8d7761cb205f5bcda14a7ca7d (diff)
downloadaports-2c55a29cc681269934670ddb1b54a19802763295.tar.gz
aports-2c55a29cc681269934670ddb1b54a19802763295.tar.bz2
aports-2c55a29cc681269934670ddb1b54a19802763295.tar.xz
testing/uutils-coreutils: increase max open files for tests
Test suite is flaky and fails sometimes with: > cp: '/tmp/.tmpVEgH4v/dir_with_10_files/2' -> > 'dir_with_10_files_new/2': No file descriptors available (os error 24) Increase max open file limit to alleviate it.
-rw-r--r--testing/uutils-coreutils/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/uutils-coreutils/APKBUILD b/testing/uutils-coreutils/APKBUILD
index 2ce1991450..8d4a2d4af0 100644
--- a/testing/uutils-coreutils/APKBUILD
+++ b/testing/uutils-coreutils/APKBUILD
@@ -43,6 +43,8 @@ build() {
}
check() {
+ ulimit -n 2048 # running out of file descriptors
+
case "$CARCH" in
armhf)
patch -p1 < "$srcdir"/disable_tests_armhf_patch