Skip to content

Commit

Permalink
Revert to using separate property options to keep old tests working.
Browse files Browse the repository at this point in the history
yast2-dhcp-server and yast2-samba-server log the exact command used by
us in their tests :-(
  • Loading branch information
mvidner committed Sep 14, 2017
1 parent ea65ee0 commit 4dabd92
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion library/systemd/src/lib/yast2/systemd_unit.rb
Expand Up @@ -255,7 +255,8 @@ def extract_properties

def load_systemd_properties
names = systemd_unit.propmap.values
systemd_unit.command("show", options: "--property=" + names.join(","))
opts = names.map { |property_name| " --property=#{property_name} " }
systemd_unit.command("show", options: opts.join)
end
end

Expand Down
7 changes: 7 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 14 07:51:58 UTC 2017 - mvidner@suse.com

- systemd services (bsc#1045658)
- reverted a command change that broke brittle tests
- 3.2.37.3

-------------------------------------------------------------------
Wed Aug 30 13:29:54 UTC 2017 - mvidner@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 3.2.37.2
Version: 3.2.37.3
Release: 0
Summary: YaST2 - Main Package
License: GPL-2.0
Expand Down

0 comments on commit 4dabd92

Please sign in to comment.