git: 3c33729ce2f4 - main - rc_subr_test: ignore stderr in no_cycles test

From: Siva Mahadevan <siva_at_FreeBSD.org>
Date: Thu, 13 Aug 2026 13:31:36 UTC
The branch main has been updated by siva:

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

commit 3c33729ce2f421e2a583f19f85a181968aa310de
Author:     Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2026-08-12 18:45:52 +0000
Commit:     Siva Mahadevan <siva@FreeBSD.org>
CommitDate: 2026-08-13 13:29:43 +0000

    rc_subr_test: ignore stderr in no_cycles test
    
    nuageinit_user_data_script references 'firstboot_freebsd_update'
    and 'firstboot_pkg_upgrade', which are from Ports. In a default
    base system test without sysutils/firstboot-freebsd-update and
    sysutils/firstboot-pkg-upgrade, rcorder will warn on "unknown
    provisions" to stderr, but is otherwise harmless.
    
    Reviewed by:    arrowd
    Fixes:          16e47f317c4ce2be5fed530bf8a9af9f9bf55364
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 libexec/rc/tests/rc_subr_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/tests/rc_subr_test.sh b/libexec/rc/tests/rc_subr_test.sh
index 4754ad83c290..f229ee221bdf 100644
--- a/libexec/rc/tests/rc_subr_test.sh
+++ b/libexec/rc/tests/rc_subr_test.sh
@@ -34,7 +34,7 @@ no_cycles_head()
 
 no_cycles_body()
 {
-	atf_check -e empty -o ignore rcorder /etc/rc.d/*
+	atf_check -s exit:0 -e ignore -o ignore rcorder /etc/rc.d/*
 }
 
 atf_test_case oomprotect_all