Skip to content

Commit

Permalink
Merge f04461d into 470ed16
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Nov 28, 2019
2 parents 470ed16 + f04461d commit beb840b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-samba-server.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 28 14:35:11 UTC 2019 - Knut Anderssen <kanderssen@suse.com>

- Fix failing Samba.GetServiceStatus old testsuite forcing and
import of 'Directory' (bsc#1155923)
- 4.2.2

-------------------------------------------------------------------
Mon Nov 11 14:56:40 UTC 2019 - Knut Anderssen <kanderssen@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-samba-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-samba-server
Version: 4.2.1
Version: 4.2.2
Release: 0
Url: https://github.com/yast/yast-samba-server
Summary: YaST2 - Samba Server Configuration
Expand Down
1 change: 0 additions & 1 deletion testsuite/YaPI/tests/YaPI-GetServiceStatus.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Return Disabled service
Read .target.tmpdir "/tmp"
Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 /usr/bin/systemctl --no-legend --no-pager --no-ask-password show smb.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath --property=CanReload " $["exit":0, "stderr":"", "stdout":""]
Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 /usr/bin/systemctl --no-legend --no-pager --no-ask-password is-enabled smb.service " $["exit":0, "stderr":"", "stdout":""]
Return 0
Expand Down
4 changes: 4 additions & 0 deletions testsuite/YaPI/tests/YaPI-GetServiceStatus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ def main
# $Id$

Yast.import "SambaConfig"
# Import "Directory" just for avoid its initialization which reads the
# ".target.tmpdir". This change was consequence of bsc#1151291, which added
# an import of "Systemd" in Y2Network::Systemd::Unit
Yast.import "Directory"

Yast.include self, "testsuite.rb"
Yast.include self, "tests-common.rb"
Expand Down

0 comments on commit beb840b

Please sign in to comment.