File: test-simple.patch

package info (click to toggle)
libtest-unixsock-perl 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 148 kB
  • ctags: 16
  • sloc: perl: 162; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: skip tests if Test::More >= 1.3 is installed
Origin: vendor
Bug-Debian: https://bugs.debian.org/865380
Forwarded: no; unclear where the real problem is
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2017-07-14

--- a/t/15_oo_unix.t
+++ b/t/15_oo_unix.t
@@ -16,6 +16,10 @@
 use IO::Socket::UNIX;
 use t::ServerUNIX;
 
+my $TM_VERSION = $Test::More::VERSION;
+note "Test::More: $TM_VERSION";
+plan skip_all => 'This test has problems with Test::More >= 1.3' if $TM_VERSION >= 1.300000;
+
 my $server = Test::UNIXSock->new(
     code => sub {
         my $path = shift;