Skip to content

Commit

Permalink
Merge 24a34fc into 1633830
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Jul 1, 2019
2 parents 1633830 + 24a34fc commit 5e811ec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions package/yast2-dhcp-server.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 1 16:18:15 UTC 2019 - Knut Anderssen <kanderssen@suse.com>

- Fixed failing old testsuite: do not depend on the environment,
skip bind absence in Mode.test() (bsc#1138668)
- 4.2.1

-------------------------------------------------------------------
Fri May 31 12:28:42 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>

Expand Down
6 changes: 3 additions & 3 deletions package/yast2-dhcp-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-dhcp-server
Version: 4.2.0
Version: 4.2.1
Release: 0
Summary: YaST2 - DHCP Server Configuration
Group: System/YaST
Expand All @@ -40,8 +40,8 @@ BuildRequires: yast2-perl-bindings
BuildRequires: yast2-testsuite
BuildRequires: yast2-dns-server
BuildRequires: yast2-devtools >= 4.2.2
# Yast2::ServiceWidget
BuildRequires: yast2 >= 4.1.0
# Fix old testsuite bind package absence mocks
BuildRequires: yast2 >= 4.2.11
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)

Expand Down
4 changes: 2 additions & 2 deletions src/modules/DhcpServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ configured yet. Create a new configuration?");

Progress->NextStage ();

$dns_server_available = DnsServerAPI->IsServiceConfigurableExternally();
$dns_server_available = (!Mode->test () && DnsServerAPI->IsServiceConfigurableExternally());
if ($dns_server_available) {
DnsServerAPI->Read();
}
Expand Down Expand Up @@ -1656,7 +1656,7 @@ sub Write {

my $ok = 1;

$modified = $modified || FirewalldWrapper->is_modified ();
$modified = $modified || (!Mode->test () && FirewalldWrapper->is_modified ());

if (! $modified)
{
Expand Down

0 comments on commit 5e811ec

Please sign in to comment.