You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/grepmail/files/5.30.33-fix_nonexistent_mai...

34 lines
1.1 KiB

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 = (