File: fix-bug73160-test.patch

package info (click to toggle)
libxml-feed-perl 0.48%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 428 kB
  • sloc: perl: 1,027; xml: 606; sh: 48; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: repacking removed the file to be tested, so skip the test
Author: Florian Schlichting <fschlich@zedat.fu-berlin.de>
Forwarded: not-needed

--- a/t/22-bug73160.t
+++ b/t/22-bug73160.t
@@ -4,6 +4,8 @@
 use Test::More;
 use XML::Feed;
 
+plan skip_all => "t/samples/rss10-datespaces.xml does not exist" if(! -f "t/samples/rss10-datespaces.xml");
+
 my $file = 't/samples/rss10-datespaces.xml';
 my $feed = XML::Feed->parse($file);
 isa_ok($feed, 'XML::Feed::Format::RSS');