[DRE-commits] [ruby-vmstat] 01/01: remove patch 002-disable-failing-tests

Abhijith PA abhijithpa-guest at moszumanska.debian.org
Sun Jun 18 18:47:43 UTC 2017


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

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

commit bc228a7789962d354463bb714c59ceec54663f0f
Author: Abhijith PA <abhijith at openmailbox.org>
Date:   Mon Jun 19 00:15:52 2017 +0530

     remove patch 002-disable-failing-tests
---
 debian/changelog                               |  4 ++-
 debian/patches/002-disable-failing-tests.patch | 39 --------------------------
 debian/patches/series                          |  1 -
 3 files changed, 3 insertions(+), 41 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cebed61..a2dc2a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 ruby-vmstat (2.3.0-1) unstable; urgency=medium
 
   * Team upload.
-  * New upstream release 
+  * New upstream release
+  * Remove 002-disable-failing-tests.patch 
+    https://github.com/threez/ruby-vmstat/issues/9 
 
  -- Abhijith PA <abhijith at openmailbox.org>  Sun, 18 Jun 2017 23:57:20 +0530
 
diff --git a/debian/patches/002-disable-failing-tests.patch b/debian/patches/002-disable-failing-tests.patch
deleted file mode 100644
index bf938b3..0000000
--- a/debian/patches/002-disable-failing-tests.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Bug: https://github.com/threez/ruby-vmstat/issues/9
-Bug: https://github.com/threez/ruby-vmstat/issues/14
-
-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
--      its(:type) { should be_a(Symbol) }
-+      #its(:type) { should be_a(Symbol) }
-       its(:origin) { should be_a(String) }
-       its(:mount) { should be_a(String) }
-       its(:free_bytes) { should be_a_kind_of(Numeric) }
-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|
--      it "should not grow the memory in method #{method_name} " +
-+      xit "should not grow the memory in method #{method_name} " +
-          "more than #{percent}% " do
-         mem_before = Vmstat.task.resident_size
-         10000.times { Vmstat.send(method_name, *args) }
diff --git a/debian/patches/series b/debian/patches/series
index 0bd90eb..8e4d25c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 001-require-rspec-its.patch
-002-disable-failing-tests.patch

-- 
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