ulimit -c unlimited. Also simplify the logic a bit as requested by bluhm@.
OK bluhm@ deraadt@
run-regress-${PROG}: ${PROG}
rm -f ./${PROG}.core
- if ./${PROG}; then false; else true; fi
+ ulimit -c unlimited && ! ./${PROG}
if [ ! -e ./${PROG}.core ]; then echo "No coredump"; false; fi
.include <bsd.regress.mk>
run-regress-${PROG}: ${PROG}
rm -f ./${PROG}.core
- if ./${PROG}; then false; else true; fi
+ ulimit -c unlimited && ! ./${PROG}
if [ ! -e ./${PROG}.core ]; then echo "No coredump"; false; fi
.include <bsd.regress.mk>