[DRE-commits] [ruby-packetfu] 13/16: Add a patch to fix test suite

Jérémy Bobbio lunar at alioth.debian.org
Sat Aug 24 17:27:56 UTC 2013


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

lunar pushed a commit to branch master
in repository ruby-packetfu.

commit f102552ab58b36697b3bdbde9dc70407da98affe
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sat Aug 24 19:21:06 2013 +0200

    Add a patch to fix test suite
---
 ...-format-spec-to-use-new-RSpec-matcher-syn.patch |   21 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0001-Update-peek-format-spec-to-use-new-RSpec-matcher-syn.patch b/debian/patches/0001-Update-peek-format-spec-to-use-new-RSpec-matcher-syn.patch
new file mode 100644
index 0000000..bd396bc
--- /dev/null
+++ b/debian/patches/0001-Update-peek-format-spec-to-use-new-RSpec-matcher-syn.patch
@@ -0,0 +1,21 @@
+From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar at debian.org>
+Date: Sat, 24 Aug 2013 19:20:50 +0200
+Subject: Update peek format spec to use new RSpec matcher syntax
+
+---
+ spec/packet_subclasses_spec.rb |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/packet_subclasses_spec.rb b/spec/packet_subclasses_spec.rb
+index 66d60c5..e19028c 100644
+--- a/spec/packet_subclasses_spec.rb
++++ b/spec/packet_subclasses_spec.rb
+@@ -6,7 +6,7 @@ PacketFu.packet_classes.each do |pclass|
+ 		it "will display sensible peek information" do
+ 			p = pclass.new
+ 			p.respond_to?(:peek).should be_true
+-			p.peek.size.should be_<=(80), p.peek.inspect
++			p.peek.size.should be <= 80, p.peek.inspect
+ 			p.peek.should match(/^[A-Z0-9?]../)
+ 		end
+ 	end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fc09f90
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Update-peek-format-spec-to-use-new-RSpec-matcher-syn.patch

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



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