File: autopkgtest.patch

package info (click to toggle)
libfile-slurper-perl 0.009-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 172 kB
  • ctags: 15
  • sloc: perl: 356; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: skip a test when run under autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-09-07

--- a/t/10-basics.t
+++ b/t/10-basics.t
@@ -20,7 +20,7 @@
 
 is_deeply([ read_lines($0) ], \@content, 'read_lines returns the right thing (chomp)');
 
-is_deeply([ read_dir('lib') ], [ 'File' ], 'read_dir appears to work');
+is_deeply([ read_dir('lib') ], [ 'File' ], 'read_dir appears to work') unless $ENV{ADTTMP};
 
 my ($fh, $filename) = tempfile(UNLINK => 1);