summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys
diff options
context:
space:
mode:
authorclaudio <>2021-09-19 08:20:04 +0000
committerclaudio <>2021-09-19 08:20:04 +0000
commitbf6954f460bcb5d9745901e52a0ced497aed3f4d (patch)
tree1eab665681f184dff1eb312d2f3dc256bafe758f /src/regress/lib/libc/sys
parent2d955253865a6015861bd8fe88e65001b0fcf007 (diff)
downloadopenbsd-bf6954f460bcb5d9745901e52a0ced497aed3f4d.tar.gz
openbsd-bf6954f460bcb5d9745901e52a0ced497aed3f4d.tar.bz2
openbsd-bf6954f460bcb5d9745901e52a0ced497aed3f4d.zip
At least t_fork and t_vfork tests need coredumps enabled to succeed.
Add ulimit -c unlimited before running the tests like it is done in other places in regress. OK bluhm@
Diffstat (limited to 'src/regress/lib/libc/sys')
-rw-r--r--src/regress/lib/libc/sys/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libc/sys/Makefile b/src/regress/lib/libc/sys/Makefile
index 2073cadf56..86a8af55fa 100644
--- a/src/regress/lib/libc/sys/Makefile
+++ b/src/regress/lib/libc/sys/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.13 2021/09/04 07:06:58 mbuhl Exp $ 1# $OpenBSD: Makefile,v 1.14 2021/09/19 08:20:04 claudio Exp $
2 2
3# Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de> 3# Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de>
4# Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org> 4# Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org>
@@ -112,6 +112,7 @@ CLEANFILES = access dummy mmap truncate_test.root_owned
112 112
113.for p in ${PROGS} 113.for p in ${PROGS}
114run-$p: $p 114run-$p: $p
115 ulimit -c unlimited && \
115 ntests="`./$p -n`" && \ 116 ntests="`./$p -n`" && \
116 echo "1..$$ntests" && \ 117 echo "1..$$ntests" && \
117 tnumbers="`jot -ns' ' - 1 $$ntests`" && \ 118 tnumbers="`jot -ns' ' - 1 $$ntests`" && \