[DRE-commits] [asciidoctor] 05/05: Skip test that depends on chmod

Guillaume Grossetie ggrossetie-guest at moszumanska.debian.org
Mon Feb 29 18:21:18 UTC 2016


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

ggrossetie-guest pushed a commit to branch master
in repository asciidoctor.

commit fe7cfa57f39e21daa5cd50cb10278ffa950ed185
Author: Guillaume Grossetie <ggrossetie at gmail.com>
Date:   Mon Feb 29 18:17:52 2016 +0100

    Skip test that depends on chmod
---
 debian/changelog                          |  2 ++
 debian/patches/series                     |  1 +
 debian/patches/skip-unreadable-file.patch | 12 ++++++++++++
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 66e802e..da170ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ asciidoctor (1.5.4-1) unstable; urgency=medium
     - skip-asciimath-test.patch
   * Patches removed (already applied upstream):
     - slim-test.patch
+  * Patches added:
+    - skip-unreadable-file.patch: skip test that depends on chmod
 
  -- Guillaume Grossetie <ggrossetie at gmail.com>  Mon, 29 Feb 2016 17:18:00 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 5cc23f8..ea7f6da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ data_path.patch
 lib_directory_in_tests.patch
 skip-asciimath-test.patch
 package-version.patch
+skip-unreadable-file.patch
diff --git a/debian/patches/skip-unreadable-file.patch b/debian/patches/skip-unreadable-file.patch
new file mode 100644
index 0000000..2b5d637
--- /dev/null
+++ b/debian/patches/skip-unreadable-file.patch
@@ -0,0 +1,12 @@
+Index: asciidoctor/test/reader_test.rb
+===================================================================
+--- asciidoctor.orig/test/reader_test.rb	2016-02-29 17:15:14.900028599 +0100
++++ asciidoctor/test/reader_test.rb	2016-02-29 18:16:05.506299075 +0100
+@@ -618,6 +618,7 @@
+       end
+ 
+       test 'unreadable file referenced by include directive is replaced by warning' do
++        skip 'file is readable in Debian build'
+         include_file = File.join DIRNAME, 'fixtures', 'chapter-a.adoc'
+         FileUtils.chmod 0000, include_file
+         input = <<-EOS

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



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