Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150573542
D52954.id163775.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
638 B
Referenced Files
None
Subscribers
None
D52954.id163775.diff
View Options
diff --git a/libexec/rc/tests/rc_subr_test.sh b/libexec/rc/tests/rc_subr_test.sh
--- a/libexec/rc/tests/rc_subr_test.sh
+++ b/libexec/rc/tests/rc_subr_test.sh
@@ -26,6 +26,17 @@
# SUCH DAMAGE.
#
+atf_test_case no_cycles
+no_cycles_head()
+{
+ atf_set "descr" "Verify that /etc/rc.d/* contains no cycles"
+}
+
+no_cycles_body()
+{
+ atf_check -e empty -o ignore rcorder /etc/rc.d/*
+}
+
atf_test_case oomprotect_all
oomprotect_all_head()
{
@@ -130,6 +141,7 @@
atf_init_test_cases()
{
+ atf_add_test_case no_cycles
atf_add_test_case oomprotect_all
atf_add_test_case oomprotect_yes
atf_add_test_case wait_for_pids_progress
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 12:08 PM (1 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30756884
Default Alt Text
D52954.id163775.diff (638 B)
Attached To
Mode
D52954: rc tests: Add a test to check for warnings from rcorder
Attached
Detach File
Event Timeline
Log In to Comment