Skip to content

Commit

Permalink
old testsuite: stating systemd services is no longer done
Browse files Browse the repository at this point in the history
it was removed in
yast/yast-yast2@6d6f8ec
  • Loading branch information
mvidner committed Mar 4, 2014
1 parent d2bd6c2 commit 96ecb29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions testsuite/tests/Network_YaPI.out
Expand Up @@ -11,7 +11,6 @@ Read .target.string "/etc/HOSTNAME" "laptop.suse.cz"
Read .target.size "/etc/sysconfig/network/routes" 27
Read .routes [$["destination":"default", "gateway":"10.20.30.40"]]
Execute .target.bash "rpm -q --whatprovides SuSEfirewall2" 0
Read .target.stat "/usr/lib/systemd/system/SuSEfirewall2.service" $["exists":true]
Execute .target.bash "/bin/systemctl is-enabled SuSEfirewall2.service" 0
Dir .network.section: ["eth0", "eth1", "eth2", "eth3", "eth4", "eth5", "eth5.23"]
Dir .network.value."eth0": ["BOOTPROTO", "STARTMODE"]
Expand Down Expand Up @@ -269,13 +268,10 @@ Read .target.string "/sys/class/net/eth0/type" "laptop.suse.cz"
Write .network.value."eth0".BOOTPROTO "dhcp4" true
Write .network.value."eth0".STARTMODE "auto" true
Write .network nil true
Read .target.stat "/usr/lib/systemd/system/network.service" $["exists":true]
Execute .target.bash_output "/bin/systemctl restart network.service" $["TERM":"raw"] $["exit":0, "stdout":"laptop.suse.cz"]
Read .target.size "/etc/sysconfig/network/routes" 27
Read .routes [$["destination":"default", "gateway":"10.20.30.40"]]
Read .target.stat "/usr/lib/systemd/system/SuSEfirewall2.service" $["exists":true]
Execute .target.bash "/bin/systemctl is-enabled SuSEfirewall2.service" 0
Read .target.stat "/usr/lib/systemd/system/SuSEfirewall2.service" $["exists":true]
Execute .target.bash "/bin/systemctl is-enabled SuSEfirewall2.service" 0
Execute .target.bash "echo 0 > /proc/sys/net/ipv4/ip_forward" 0
Execute .target.bash "echo 0 > /proc/sys/net/ipv6/conf/all/forwarding" 0
Expand Down Expand Up @@ -346,7 +342,6 @@ Write .network.value."eth3".BOOTPROTO "static" true
Write .network.value."eth3".IPADDR "1.2.3.7/24" true
Write .network.value."eth3".STARTMODE "auto" true
Write .network nil true
Read .target.stat "/usr/lib/systemd/system/network.service" $["exists":true]
Execute .target.bash_output "/bin/systemctl restart network.service" $["TERM":"raw"] $["exit":0, "stdout":"laptop.suse.cz"]
Dir .network.section: ["eth0", "eth1", "eth2", "eth3", "eth4", "eth5", "eth5.23"]
Dir .network.value."eth0": ["BOOTPROTO", "STARTMODE"]
Expand Down Expand Up @@ -413,5 +408,4 @@ Write .network.value."eth5.23".IPADDR "1.2.3.8/24" true
Write .network.value."eth5.23".STARTMODE "auto" true
Write .network.value."eth5.23".VLAN_ID "42" true
Write .network nil true
Read .target.stat "/usr/lib/systemd/system/network.service" $["exists":true]
Execute .target.bash_output "/bin/systemctl restart network.service" $["TERM":"raw"] $["exit":0, "stdout":"laptop.suse.cz"]
1 change: 0 additions & 1 deletion testsuite/tests/YaPI_bond.out
Expand Up @@ -17,5 +17,4 @@ Write .network.value."bond0".BOOTPROTO "static" true
Write .network.value."bond0".IPADDR "4.3.2.1/24" true
Write .network.value."bond0".STARTMODE "auto" true
Write .network nil true
Read .target.stat "/usr/lib/systemd/system/network.service" nil
Execute .target.bash_output "/bin/systemctl restart network.service" $["TERM":"raw"] $["exit":0, "stdout":"laptop.suse.cz"]

0 comments on commit 96ecb29

Please sign in to comment.