summaryrefslogtreecommitdiff
blob: cdab28bb635c59c59396c1ab01806e293f6bc81e (plain)
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
Description: Fix FTBFS with libmail-mbox-messageparser-perl 1.5002
 From 1.5002, it does not return "No data on standard input" anymore.
Author: Vincent Legout <vincent@legout.info>
Last-Update: 2010-04-28
Bug-Debian: http://bugs.debian.org/549782
Bug-Gentoo: https://bugs.gentoo.org/296657

--- grepmail/t/nonexistent_mailbox.t
+++ grepmail/t/nonexistent_mailbox.t
@@ -13,21 +13,15 @@
   => ['none','no_such_file'],
 "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
   " | grepmail pattern"
-  => ['none','no_data'],
+  => ['none','none'],
 "grepmail -E $single_quote\$email =~ /pattern/$single_quote no_such_file"
   => ['none','no_such_file'],
 "$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
   " | grepmail -E $single_quote\$email =~ /pattern/$single_quote"
-  => ['none','no_data'],
+  => ['none','none'],
 );
 
 my %expected_errors = (
-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
-  " | grepmail pattern"
-  => 1,
-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
-  " | grepmail -E $single_quote\$email =~ /pattern/$single_quote"
-  => 1,
 );
 
 my %localization = (