[DRE-commits] [ruby-vmstat] 01/01: disable network interface detection test

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Sep 8 19:19:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-vmstat.

commit 76b857940827e67a2880ce094ccd98ded2462ff6
Author: Pirate Praveen <praveen at debian.org>
Date:   Fri Sep 9 00:39:31 2016 +0530

    disable network interface detection test
---
 debian/changelog                               |  6 ++++++
 debian/patches/002-disable-failing-tests.patch | 27 ++++++++++++++++++++------
 2 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b98c922..87f283e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-vmstat (2.2.0-2) unstable; urgency=medium
+
+  * Disable ethernet interface detection test (fixes test failure in s390x)
+
+ -- Pirate Praveen <praveen at debian.org>  Fri, 09 Sep 2016 00:39:24 +0530
+
 ruby-vmstat (2.2.0-1) unstable; urgency=medium
 
   * New upstream release 
diff --git a/debian/patches/002-disable-failing-tests.patch b/debian/patches/002-disable-failing-tests.patch
index a9d70d3..bf938b3 100644
--- a/debian/patches/002-disable-failing-tests.patch
+++ b/debian/patches/002-disable-failing-tests.patch
@@ -1,8 +1,11 @@
 Bug: https://github.com/threez/ruby-vmstat/issues/9
+Bug: https://github.com/threez/ruby-vmstat/issues/14
 
---- a/spec/vmstat/disk_spec.rb
-+++ b/spec/vmstat/disk_spec.rb
-@@ -40,7 +40,7 @@
+Index: ruby-vmstat/spec/vmstat/disk_spec.rb
+===================================================================
+--- ruby-vmstat.orig/spec/vmstat/disk_spec.rb
++++ ruby-vmstat/spec/vmstat/disk_spec.rb
+@@ -40,7 +40,7 @@ describe Vmstat::Disk do
      end
      
      context "content" do
@@ -11,9 +14,21 @@ Bug: https://github.com/threez/ruby-vmstat/issues/9
        its(:origin) { should be_a(String) }
        its(:mount) { should be_a(String) }
        its(:free_bytes) { should be_a_kind_of(Numeric) }
---- a/spec/vmstat_spec.rb
-+++ b/spec/vmstat_spec.rb
-@@ -27,7 +27,7 @@
+Index: ruby-vmstat/spec/vmstat_spec.rb
+===================================================================
+--- ruby-vmstat.orig/spec/vmstat_spec.rb
++++ ruby-vmstat/spec/vmstat_spec.rb
+@@ -15,7 +15,8 @@ describe Vmstat do
+   
+   context "Vmstat#filter_devices" do
+     unless travis? # no external ethernet devices on travis ci
+-      it "should filter ethernet devices" do
++     # Cannot detect ethernet interface on s390x
++      xit "should filter ethernet devices" do
+         Vmstat.ethernet_devices.size.should >= 1
+       end
+     end
+@@ -29,7 +30,7 @@ describe Vmstat do
      percent = RUBY_VERSION.to_i == 2 ? 26 : 10
      
      shared_examples "a not memory leaking method" do |method_name, *args|

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-vmstat.git



More information about the Pkg-ruby-extras-commits mailing list