git: e1700a36a947 - main - dtrace tests: Override RLIMIT_CORE for a test which triggers a core dump

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 03 Aug 2022 00:39:10 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=e1700a36a9471a623c89f3112d69234ee6ac7fae

commit e1700a36a9471a623c89f3112d69234ee6ac7fae
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-08-03 00:32:04 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-08-03 00:32:04 +0000

    dtrace tests: Override RLIMIT_CORE for a test which triggers a core dump
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 .../opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh
index 59094e3da37f..1c23b2a0b9e0 100644
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh
@@ -61,7 +61,7 @@ EOF
 sleeper()
 {
 	while true; do
-		$longsleep &
+		limits -c unlimited $longsleep &
                 /bin/sleep 1
 		kill -SEGV $!
 	done