[DRE-commits] [rake] 03/07: added debian/patches/skip_permission_test.patch
Antonio Terceiro
terceiro at moszumanska.debian.org
Mon Feb 17 13:48:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository rake.
commit a2b501b9a7d408900e763ec1667ed3b3b95182d6
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Feb 9 21:27:08 2014 -0300
added debian/patches/skip_permission_test.patch
* added debian/patches/skip_permission_test.patch
- skips a test that is doomed to fail under fakeroot
---
debian/changelog | 2 ++
debian/patches/series | 1 +
debian/patches/skip_permission_test.patch | 22 ++++++++++++++++++++++
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index df58dd6..017480b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
rake (10.1.1-1) UNRELEASED; urgency=medium
* New upstream release
+ * added debian/patches/skip_permission_test.patch
+ - skips a test that is doomed to fail under fakeroot
-- Antonio Terceiro <terceiro at debian.org> Sun, 09 Feb 2014 21:13:03 -0300
diff --git a/debian/patches/series b/debian/patches/series
index d601710..50ff42c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-remove_rubygems.patch
+skip_permission_test.patch
diff --git a/debian/patches/skip_permission_test.patch b/debian/patches/skip_permission_test.patch
new file mode 100644
index 0000000..9073508
--- /dev/null
+++ b/debian/patches/skip_permission_test.patch
@@ -0,0 +1,22 @@
+Description: skip test that is doomed to fail under fakeroot
+ This test assumes a given file cannot be deleted after being chmod'd to 000,
+ but under fakeroot the system will go ahead and delete the file no matter
+ what.
+ .
+ This patch is most probably Debian-specific.
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/test_rake_clean.rb
++++ b/test/test_rake_clean.rb
+@@ -11,7 +11,7 @@ class TestRakeClean < Rake::TestCase
+ "Clobber should require clean"
+ end
+
+- def test_cleanup
++ def skip_under_fakeroot__test_cleanup
+ file_name = create_undeletable_file
+
+ out, _ = capture_io do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rake.git
More information about the Pkg-ruby-extras-commits
mailing list