File: no-use-lib-lib.patch

package info (click to toggle)
libterm-ui-perl 0.46-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 148 kB
  • ctags: 11
  • sloc: perl: 237; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: Don't hardcode "use lib 'lib'" in the test suite
 Otherwise as-installed testing won't work and the packaging already
 cares about passing -Ilib and friends to prove.
Author: Axel Beckert <abe@debian.org>

Index: libterm-ui-perl/t/00_load.t
===================================================================
--- libterm-ui-perl.orig/t/00_load.t	2015-07-02 23:59:55.242702229 +0200
+++ libterm-ui-perl/t/00_load.t	2015-07-03 00:13:57.661388153 +0200
@@ -4,7 +4,6 @@
 BEGIN {
     chdir 't' if -d 't';
     use File::Spec;
-    use lib File::Spec->catdir( qw[.. lib] );
 }
 
 my $Class = 'Term::UI';
Index: libterm-ui-perl/t/01_history.t
===================================================================
--- libterm-ui-perl.orig/t/01_history.t	2015-07-02 23:59:55.242702229 +0200
+++ libterm-ui-perl/t/01_history.t	2015-07-03 00:14:08.881294883 +0200
@@ -4,7 +4,6 @@
 BEGIN {
     chdir 't' if -d 't';
     use File::Spec;
-    use lib File::Spec->catdir( qw[.. lib] );
 }
 
 my $Class   = 'Term::UI::History';
Index: libterm-ui-perl/t/02_ui.t
===================================================================
--- libterm-ui-perl.orig/t/02_ui.t	2015-07-03 00:01:00.770563170 +0200
+++ libterm-ui-perl/t/02_ui.t	2015-07-03 00:11:28.686666149 +0200
@@ -1,7 +1,6 @@
 ### Term::UI test suite ###
 
 use strict;
-use lib qw[../lib lib];
 use Test::More tests => 22;
 use Term::ReadLine;