aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Mahadevan <siva@FreeBSD.org>2026-08-12 18:45:52 +0000
committerSiva Mahadevan <siva@FreeBSD.org>2026-08-13 13:29:43 +0000
commit3c33729ce2f421e2a583f19f85a181968aa310de (patch)
treec3f560800e8beac157c28498df429795447f5337
parent336b6d11922ac3d080de50f789d40ff95b540cdf (diff)
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
-rw-r--r--libexec/rc/tests/rc_subr_test.sh2
1 files changed, 1 insertions, 1 deletions
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