File: ignore-autopkgtest-dummy.patch

package info (click to toggle)
libfile-find-rule-perl-perl 1.15-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 140 kB
  • ctags: 11
  • sloc: perl: 132; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 564 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
Description: do not compare filenames not present under autopkgtest
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: not-needed

--- a/t/03_no_index.t
+++ b/t/03_no_index.t
@@ -51,6 +51,9 @@
 			! $ignore{$_}
 		} $rule->in( curdir() );
 
+            SKIP: {
+                skip 'running under autopkgtest', 1 if -e 'lib/Debian/pkgperl/Foobar.pm';
+
 		is_deeply( \@files, [ qw{
 			Changes
                         META.json
@@ -58,6 +61,7 @@
 			Makefile.PL
 			lib/File/Find/Rule/Perl.pm
 		} ], 'Found the expected files' );
+            }
 	}
 }