From: claudio Date: Tue, 9 Feb 2021 16:58:00 +0000 (+0000) Subject: These regress test expect coredumps as an effect of the test so run X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=55cc5ba3dd928007444c9a70fa16d479401fb59a;p=openbsd These regress test expect coredumps as an effect of the test so run the tests with ulimit -c unlimited to make sure coredumps are written. OK bluhm@ deraadt@ --- diff --git a/regress/sys/kern/syscall_segment/lib/Makefile b/regress/sys/kern/syscall_segment/lib/Makefile index ec635d94d1a..1b32cbe164b 100644 --- a/regress/sys/kern/syscall_segment/lib/Makefile +++ b/regress/sys/kern/syscall_segment/lib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/10/16 21:34:59 bluhm Exp $ +# $OpenBSD: Makefile,v 1.4 2021/02/09 16:58:00 claudio Exp $ PROG= syscall_library .if ${.CURDIR} == ${.OBJDIR} @@ -10,7 +10,7 @@ LDADD+= -L${LIBDIR} -lgadgetsyscall run-regress-${PROG}: ${PROG} rm -f ${PROG}.core - ! LD_LIBRARY_PATH=${LIBDIR} ./${PROG} + ulimit -c unlimited && ! LD_LIBRARY_PATH=${LIBDIR} ./${PROG} if [ ! -e ${PROG}.core ]; then echo "No coredump"; false; fi .include diff --git a/regress/sys/kern/syscall_segment/main/Makefile b/regress/sys/kern/syscall_segment/main/Makefile index b3ab84a327e..70ea9bf8806 100644 --- a/regress/sys/kern/syscall_segment/main/Makefile +++ b/regress/sys/kern/syscall_segment/main/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.3 2020/10/16 21:34:59 bluhm Exp $ +# $OpenBSD: Makefile,v 1.4 2021/02/09 16:58:00 claudio Exp $ PROG= syscall_main run-regress-${PROG}: ${PROG} rm -f ${PROG}.core - ! ./${PROG} + ulimit -c unlimited && ! ./${PROG} if [ ! -e ${PROG}.core ]; then echo "No coredump"; false; fi .include