[DRE-commits] [ruby-kgio] 01/02: Refresh patches
Hleb Valoshka
tsfgnu-guest at alioth.debian.org
Sat Aug 17 09:31:34 UTC 2013
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository ruby-kgio.
commit e8d4adefe11116d1f431b667672a5b3b03a8042b
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date: Sat Aug 17 12:19:54 2013 +0300
Refresh patches
---
...0001-Disabled-test-failing-under-fakeroot.patch | 22 +++++++++++++++++
debian/patches/fix-test-under-fakeroot | 26 --------------------
debian/patches/series | 2 +-
3 files changed, 23 insertions(+), 27 deletions(-)
diff --git a/debian/patches/0001-Disabled-test-failing-under-fakeroot.patch b/debian/patches/0001-Disabled-test-failing-under-fakeroot.patch
new file mode 100644
index 0000000..387bd26
--- /dev/null
+++ b/debian/patches/0001-Disabled-test-failing-under-fakeroot.patch
@@ -0,0 +1,22 @@
+From: Hleb Valoshka <375GNU at Gmail.COM>
+Date: Sat, 17 Aug 2013 12:18:45 +0300
+Subject: Disabled test failing under fakeroot
+
+This test will fail under fakeroot, so disable it.
+---
+ test/test_tryopen.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/test_tryopen.rb b/test/test_tryopen.rb
+index 8a8278c..975549d 100644
+--- a/test/test_tryopen.rb
++++ b/test/test_tryopen.rb
+@@ -26,7 +26,7 @@ class TestTryopen < Test::Unit::TestCase
+ assert_equal :ENOENT, tmp
+ end
+
+- def test_tryopen_EACCES
++ def disabled_test_tryopen_EACCES
+ tmp = Tempfile.new "tryopen"
+ File.chmod 0000, tmp.path
+ tmp = Kgio::File.tryopen(tmp.path)
diff --git a/debian/patches/fix-test-under-fakeroot b/debian/patches/fix-test-under-fakeroot
deleted file mode 100644
index eb23e68..0000000
--- a/debian/patches/fix-test-under-fakeroot
+++ /dev/null
@@ -1,26 +0,0 @@
-
-This test will fail under fakeroot, so disable it.
-
-Index: ruby-kgio/test/test_tryopen.rb
-===================================================================
---- ruby-kgio.orig/test/test_tryopen.rb 2012-02-18 18:22:30.000000000 +0300
-+++ ruby-kgio/test/test_tryopen.rb 2012-03-03 15:29:14.549101728 +0300
-@@ -26,12 +26,12 @@
- assert_equal :ENOENT, tmp
- end
-
-- def test_tryopen_EPERM
-- tmp = Tempfile.new "tryopen"
-- File.chmod 0000, tmp.path
-- tmp = Kgio::File.tryopen(tmp.path)
-- assert_equal :EACCES, tmp
-- end
-+# def test_tryopen_EPERM
-+# tmp = Tempfile.new "tryopen"
-+# File.chmod 0000, tmp.path
-+# tmp = Kgio::File.tryopen(tmp.path)
-+# assert_equal :EACCES, tmp
-+# end
-
- def test_tryopen_readwrite
- tmp = Tempfile.new "tryopen"
diff --git a/debian/patches/series b/debian/patches/series
index 0f80bbf..391368a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-fix-test-under-fakeroot
+0001-Disabled-test-failing-under-fakeroot.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-kgio.git
More information about the Pkg-ruby-extras-commits
mailing list