--- /dev/null	Mon Aug  5 17:22:51 2019
+++ new/usr/src/test/smf-tests/tests/svc.startd/depends/assertion_046/service_046.xml	Mon Aug  5 17:22:51 2019
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+
+<!--
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ Use is subject to license terms.
+-->
+
+<service_bundle type="manifest" name="service_depends_046">
+<service name="TEST_SERVICE" type="service" version="1">
+<instance name="TEST_INSTANCE1" enabled="true">
+<dependency name="atobc"
+        grouping="optional_all"
+	restart_on="restart"
+        type="service"
+        delete="false">
+<service_fmri value="svc:/TEST_SERVICE:TEST_INSTANCE2" />
+<service_fmri value="svc:/TEST_SERVICE:TEST_INSTANCE3" />
+</dependency>
+<exec_method type="method" name="start"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<exec_method type="method" name="stop"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<property_group name="cfg" type="application">
+<property name="cmd" type="astring">
+<astring_list>
+<value_node value="SERVICE_APP" />
+</astring_list>
+</property>
+<property name="log" type="astring">
+<astring_list>
+<value_node value="LOGFILE" />
+</astring_list>
+</property>
+<property name="state" type="astring">
+<astring_list>
+<value_node value="STATEFILE1" />
+</astring_list>
+</property>
+</property_group>
+</instance>
+<instance name="TEST_INSTANCE2" enabled="false">
+<dependency name="btod"
+        grouping="require_all"
+	restart_on="restart"
+        type="service"
+        delete="false">
+<service_fmri value="svc:/TEST_SERVICE:TEST_INSTANCE4" />
+</dependency>
+<exec_method type="method" name="start"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<exec_method type="method" name="stop"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<property_group name="cfg" type="application">
+<property name="cmd" type="astring">
+<astring_list>
+<value_node value="SERVICE_APP" />
+</astring_list>
+</property>
+<property name="log" type="astring">
+<astring_list>
+<value_node value="LOGFILE" />
+</astring_list>
+</property>
+<property name="state" type="astring">
+<astring_list>
+<value_node value="STATEFILE2" />
+</astring_list>
+</property>
+</property_group>
+</instance>
+<instance name="TEST_INSTANCE3" enabled="false">
+<dependency name="ctoe"
+        grouping="require_all"
+	restart_on="restart"
+        type="service"
+        delete="false">
+<service_fmri value="svc:/TEST_SERVICE:TEST_INSTANCE5" />
+</dependency>
+<exec_method type="method" name="start"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<exec_method type="method" name="stop"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<property_group name="cfg" type="application">
+<property name="cmd" type="astring">
+<astring_list>
+<value_node value="SERVICE_APP" />
+</astring_list>
+</property>
+<property name="log" type="astring">
+<astring_list>
+<value_node value="LOGFILE" />
+</astring_list>
+</property>
+<property name="state" type="astring">
+<astring_list>
+<value_node value="STATEFILE3" />
+</astring_list>
+</property>
+</property_group>
+</instance>
+<instance name="TEST_INSTANCE4" enabled="false">
+<exec_method type="method" name="start"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<exec_method type="method" name="stop"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<property_group name="cfg" type="application">
+<property name="cmd" type="astring">
+<astring_list>
+<value_node value="SERVICE_APP" />
+</astring_list>
+</property>
+<property name="log" type="astring">
+<astring_list>
+<value_node value="LOGFILE" />
+</astring_list>
+</property>
+<property name="state" type="astring">
+<astring_list>
+<value_node value="STATEFILE4" />
+</astring_list>
+</property>
+</property_group>
+</instance>
+<instance name="TEST_INSTANCE5" enabled="false">
+<exec_method type="method" name="start"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<exec_method type="method" name="stop"
+	exec="%{cfg/cmd} -l %{cfg/log} -f %{cfg/state} -s %s -i %i -m %m"
+	timeout_seconds="100" />
+<property_group name="cfg" type="application">
+<property name="cmd" type="astring">
+<astring_list>
+<value_node value="SERVICE_APP" />
+</astring_list>
+</property>
+<property name="log" type="astring">
+<astring_list>
+<value_node value="LOGFILE" />
+</astring_list>
+</property>
+<property name="state" type="astring">
+<astring_list>
+<value_node value="STATEFILE5" />
+</astring_list>
+</property>
+</property_group>
+</instance>
+</service>
+</service_bundle>
