[DRE-commits] [ruby-filepath] 07/07: Patch to avoid readability test
Gioele Barabucci
gioele-guest at alioth.debian.org
Sun Sep 22 13:23:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
gioele-guest pushed a commit to branch master
in repository ruby-filepath.
commit b648c66c9eb5d7e74727c6c68f0d4cf3398c3349
Author: Gioele Barabucci <gioele at svario.it>
Date: Sun Sep 22 12:53:24 2013 +0000
Patch to avoid readability test
---
debian/patches/0003-Avoid-readability-test.patch | 24 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/0003-Avoid-readability-test.patch b/debian/patches/0003-Avoid-readability-test.patch
new file mode 100644
index 0000000..cfe6ffd
--- /dev/null
+++ b/debian/patches/0003-Avoid-readability-test.patch
@@ -0,0 +1,24 @@
+From: Gioele Barabucci <gioele at svario.it>
+Date: Sun, 22 Sep 2013 12:31:39 +0000
+Subject: Avoid readability test
+
+The readability test is used to check whether chmod calls are working
+properly. However git-buildpackage runs tests as root, so the
+test will fail.
+---
+ spec/filepath_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/filepath_spec.rb b/spec/filepath_spec.rb
+index a35e300..9aec448 100644
+--- a/spec/filepath_spec.rb
++++ b/spec/filepath_spec.rb
+@@ -565,7 +565,7 @@ describe FilePath do
+ end
+
+ describe "#chmod" do
+- it "changes file permissions" do
++ it "changes file permissions", :broken => true do
+ ph = @root / 'f1'
+ orig_mode = ph.stat.mode
+
diff --git a/debian/patches/series b/debian/patches/series
index 7698330..62df714 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Require-RSpec-in-helper.patch
0002-Avoid-requiring-bundler-in-Rakefile.patch
+0003-Avoid-readability-test.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-filepath.git
More information about the Pkg-ruby-extras-commits
mailing list