git: cf63676e086f - stable/13 - dtrace tests: Override RLIMIT_CORE for a test which triggers a core dump

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 11 Aug 2022 14:36:24 UTC
The branch stable/13 has been updated by markj:

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

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

    dtrace tests: Override RLIMIT_CORE for a test which triggers a core dump
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit e1700a36a9471a623c89f3112d69234ee6ac7fae)
---
 .../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