[yast-commit] r65712 - /trunk/network/testsuite/tests/Network_YaPI.ycp
![](https://seccdn.libravatar.org/avatar/ff2cb327bf0a83604a58d72935bcf7ff.jpg?s=120&d=mm&r=g)
Author: lslezak Date: Wed Sep 14 09:46:31 2011 New Revision: 65712 URL: http://svn.opensuse.org/viewcvs/yast?rev=65712&view=rev Log: fixed testsuite crash because of Service.ycp change Modified: trunk/network/testsuite/tests/Network_YaPI.ycp Modified: trunk/network/testsuite/tests/Network_YaPI.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/testsuite/tests/Network_YaPI.ycp?rev=65712&r1=65711&r2=65712&view=diff ============================================================================== --- trunk/network/testsuite/tests/Network_YaPI.ycp (original) +++ trunk/network/testsuite/tests/Network_YaPI.ycp Wed Sep 14 09:46:31 2011 @@ -11,7 +11,6 @@ "target" : $[ "size":27, "string" : "laptop.suse.cz", - "bash_output" : "laptop.suse.cz" ], "sysconfig": $[ "network" : $[ @@ -94,19 +93,19 @@ TEST(``(YaPI::NETWORK::Write($[])), [$[], $[], $[]], nil); // test manipulation of the startmode -TEST(``(YaPI::NETWORK::Write($["interface":$["eth0":$["bootproto":"dhcp4", "STARTMODE":"auto"]]])), [READ], nil); +TEST(``(YaPI::NETWORK::Write($["interface":$["eth0":$["bootproto":"dhcp4", "STARTMODE":"auto"]]])), [READ, $[], EXEC], nil); // test correct default route -TEST(``(YaPI::NETWORK::Write($["route":$["default":$["via":"10.20.30.40"]]])), [READ], nil); +TEST(``(YaPI::NETWORK::Write($["route":$["default":$["via":"10.20.30.40"]]])), [READ, $[], EXEC], nil); // test incorrect default route (invalid gw IP) -TEST(``(YaPI::NETWORK::Write($["route":$["default":$["via":"10.20.30"]]])), [READ], nil); +TEST(``(YaPI::NETWORK::Write($["route":$["default":$["via":"10.20.30"]]])), [READ, $[], EXEC], nil); // test setting the network prefix length for an interface that was previously configured via netmask -TEST(``(YaPI::NETWORK::Write($["interface":$["eth3":$["bootproto":"static", "ipaddr":"1.2.3.7/24"]]])), [READ], nil); +TEST(``(YaPI::NETWORK::Write($["interface":$["eth3":$["bootproto":"static", "ipaddr":"1.2.3.7/24"]]])), [READ, $[], EXEC], nil); // test vlan_id change -TEST(``(YaPI::NETWORK::Write($["interface":$["eth5.23":$["bootproto":"static", "ipaddr":"1.2.3.8/24", "vlan_etherdevice":"eth5", "vlan_id":"42"]]])), [READ], nil); +TEST(``(YaPI::NETWORK::Write($["interface":$["eth5.23":$["bootproto":"static", "ipaddr":"1.2.3.8/24", "vlan_etherdevice":"eth5", "vlan_id":"42"]]])), [READ, $[], EXEC], nil); TEST(``(YaPI::NETWORK::Read()), [READ, $[], EXEC], nil); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org