[libterm-readkey-perl] 12/13: Add another patch to skip the correct numbers of tests.
gregor herrmann
gregoa at debian.org
Sun Jul 12 16:53:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libterm-readkey-perl.
commit 956a89e30d55cd988afa6d55f2ae9d30228aba51
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jul 12 18:48:39 2015 +0200
Add another patch to skip the correct numbers of tests.
---
debian/patches/series | 1 +
debian/patches/skip-no-tty.patch | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index e35c20b..9f43014 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Totally-bail-on-the-02_terminal_functions.t-if-STDIN.patch
+skip-no-tty.patch
diff --git a/debian/patches/skip-no-tty.patch b/debian/patches/skip-no-tty.patch
new file mode 100644
index 0000000..c1442f6
--- /dev/null
+++ b/debian/patches/skip-no-tty.patch
@@ -0,0 +1,21 @@
+Description: fix number of skipped tests
+ This patch applies on top of ac5e11f which skips all tests if STDIN is missing.
+ Still in a chroot "-t STDIN" can pass and the check for /dev/tty can fail,
+ and then we run into this problem.
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-07-12
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105828
+Bug: https://rt.cpan.org/Ticket/Display.html?id=105828
+
+--- a/t/02_terminal_functions.t
++++ b/t/02_terminal_functions.t
+@@ -38,7 +38,7 @@
+ }
+ }
+ };
+- skip( 'Because Term::ReadKey need at least a tty to be useful', 1 ) if $@;
++ skip( 'Because Term::ReadKey need at least a tty to be useful', 7 ) if $@;
+ *IN = *IN; # Make single-use warning go away
+ $| = 1;
+ no strict "subs";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-readkey-perl.git
More information about the Pkg-perl-cvs-commits
mailing list