Skip to content

Commit

Permalink
Merge pull request #54 from teclator/susefirewall_replacement
Browse files Browse the repository at this point in the history
Testsuite fix for SuSEFirewall replacement. (fate#323460)
  • Loading branch information
teclator committed Nov 4, 2017
2 parents ca01a19 + e5f0424 commit 297c28f
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 78 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ test/*.log
test/*.trs
testsuite/*.bak
/testsuite/raw.*
doc/
.yardoc/*
coverage/
.yardoc/
doc/autodocs
*.pot
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# YaST - The NFS Client Module #

[![Coverage
Status](https://coveralls.io/repos/github/yast/yast-nfs-client/badge.svg?branch=master)](https://coveralls.io/github/yast/yast-nfs-client?branch=master)
[![Travis Build](https://travis-ci.org/yast/yast-nfs-client.svg?branch=master)](https://travis-ci.org/yast/yast-nfs-client)
[![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-nfs-client-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-nfs-client-master/)

17 changes: 0 additions & 17 deletions doc/Makefile.am

This file was deleted.

59 changes: 0 additions & 59 deletions doc/index.html

This file was deleted.

7 changes: 7 additions & 0 deletions package/yast2-nfs-client.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 3 18:20:20 UTC 2017 - knut.anderssen@suse.com

- Fix teststuite once SuSEFirewall2 is bein replaced by Firewalld
(fate#323460)
- 4.0.0

-------------------------------------------------------------------
Mon Jun 6 07:39:33 UTC 2016 - igonzalezsosa@suse.com

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


Name: yast2-nfs-client
Version: 3.1.17
Version: 4.0.0
Release: 0
Url: https://github.com/yast/yast-nfs-client

Expand Down
1 change: 1 addition & 0 deletions testsuite/tests/autoyast.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Read .target.tmpdir "/tmp"
Execute .target.bash "rpm -q --whatprovides firewalld" 1
Dump Nfs::Import
Dump - basic, SLE11-SP2
Read .sysconfig.nfs.NFS4_SUPPORT "no"
Expand Down
9 changes: 8 additions & 1 deletion testsuite/tests/autoyast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ def main
Yast.include self, "testsuite.rb"
@I_READ = { "target" => { "tmpdir" => "/tmp" } }
@I_WRITE = {}
@I_EXEC = {}
# Firewalld rpm not installed
@I_EXEC = {
"target" => {
"bash" => 1,
"bash_output" => { "exit" => 0, "stdout" => "", "stderr" => "" }
}
}

TESTSUITE_INIT([@I_READ, @I_WRITE, @I_EXEC], nil)

@READ = {
Expand Down

0 comments on commit 297c28f

Please sign in to comment.