Permalink
Browse files

Testsuites adapted to switching Service module to systemd

  • Loading branch information...
1 parent 7397641 commit 73df8e8a8874417965ce45cea1ddccbc7aad8ae9 @kobliha kobliha committed Jan 3, 2013
Showing with 19 additions and 10 deletions.
  1. +1 −1 VERSION
  2. +7 −0 package/yast2-iscsi-client.changes
  3. +8 −8 testsuite/tests/GetSetServiceStatus.out
  4. +3 −1 yast2-iscsi-client.spec.in
View
@@ -1 +1 @@
-2.23.0
+2.23.1
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Jan 3 15:28:01 UTC 2013 - locilka@suse.com
+
+- version 2.23.1
+- Testsuites adapted to switching Service module to systemd
+ (yast2-2.23.15)
+
+-------------------------------------------------------------------
Tue Dec 18 12:57:18 CET 2012 - fehr@suse.de
- version 2.23.0
@@ -1,15 +1,15 @@
Read .target.tmpdir "/tmp"
-Read .target.stat "/etc/init.d/iscsid" $["isreg":true]
-Execute .target.bash "/sbin/chkconfig -l iscsid | /usr/bin/grep -q '[0-6]:on'" 0
+Read .target.stat "/lib/systemd/system/iscsid.service" $["isreg":true]
+Execute .target.bash "/bin/systemctl is-enabled iscsid.service" 0
Return true
-Read .target.stat "/etc/init.d/boot.iscsid-early" $["isreg":true]
-Read .target.stat "/etc/init.d/boot.iscsid-early" $["isreg":true]
-Read .target.stat "/etc/init.d/boot.iscsid-early" $["isreg":true]
+Read .target.stat "/lib/systemd/system/boot.iscsid-early.service" $["isreg":true]
+Read .target.stat "/lib/systemd/system/boot.iscsid-early.service" $["isreg":true]
+Read .target.stat "/lib/systemd/system/boot.iscsid-early.service" $["isreg":true]
Read .init.scripts.runlevel "boot.iscsid-early" $["boot.iscsid-early":$["start":["B"], "stop":[]], "iscsid":$["start":["3", "5"], "stop":["3", "5"]]]
Read .init.scripts.comment "boot.iscsid-early" $["boot.iscsid-early":$["defstart":["B"], "defstop":[], "description":"", "provides":["iscsiboot"], "reqstart":["boot.proc"], "reqstop":[], "shortdescription":"Starts the iSCSI initiator daemon", "shouldstart":[], "shouldstop":[]], "iscsid":$["defstart":["3", "5"], "defstop":[], "description":"", "provides":["iscsi"], "reqstart":["$network"], "reqstop":[], "shortdescription":"Starts and stops the iSCSI client initiator", "shouldstart":[], "shouldstop":[]]]
-Read .target.stat "/etc/init.d/iscsid" $["isreg":true]
-Read .target.stat "/etc/init.d/iscsid" $["isreg":true]
-Read .target.stat "/etc/init.d/iscsid" $["isreg":true]
+Read .target.stat "/lib/systemd/system/iscsid.service" $["isreg":true]
+Read .target.stat "/lib/systemd/system/iscsid.service" $["isreg":true]
+Read .target.stat "/lib/systemd/system/iscsid.service" $["isreg":true]
Read .init.scripts.runlevel "iscsid" $["boot.iscsid-early":$["start":["B"], "stop":[]], "iscsid":$["start":["3", "5"], "stop":["3", "5"]]]
Read .init.scripts.comment "iscsid" $["boot.iscsid-early":$["defstart":["B"], "defstop":[], "description":"", "provides":["iscsiboot"], "reqstart":["boot.proc"], "reqstop":[], "shortdescription":"Starts the iSCSI initiator daemon", "shouldstart":[], "shouldstop":[]], "iscsid":$["defstart":["3", "5"], "defstop":[], "description":"", "provides":["iscsi"], "reqstart":["$network"], "reqstop":[], "shortdescription":"Starts and stops the iSCSI client initiator", "shouldstart":[], "shouldstop":[]]]
Return nil
@@ -4,7 +4,9 @@
@HEADER@
Group: System/YaST
License: GPL-2.0
-BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-devtools yast2-packagemanager-devel yast2-perl-bindings yast2-testsuite libicu-devel yast2-packager
+# Service module switched to systemd
+BuildRequires: yast2 >= 2.23.15
+BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2-devtools yast2-packagemanager-devel yast2-perl-bindings yast2-testsuite libicu-devel yast2-packager
Requires: yast2-packager

0 comments on commit 73df8e8

Please sign in to comment.