[Bps-public-commit] RT-Extension-CommandByMail branch, master, updated. 0.09-3-g5280d95
Kevin Falcone
falcone at bestpractical.com
Wed Aug 3 12:40:40 EDT 2011
The branch, master has been updated
via 5280d95d2436136410594ea8e82ff79ea8d7f52c (commit)
from 2f614e46d1d2d892873410c50c8ca79828b304b6 (commit)
Summary of changes:
t/04.send.t | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 5280d95d2436136410594ea8e82ff79ea8d7f52c
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Aug 3 12:38:39 2011 -0400
Modern 3.8 and 4.0 explicitly > /dev/null in sendmailpipe
This means any data cat'ed onto a tempfile actually goes to /dev/null
We should fix this when we switch to RT::Test
diff --git a/t/04.send.t b/t/04.send.t
index e1debd8..9c1f4c3 100644
--- a/t/04.send.t
+++ b/t/04.send.t
@@ -27,12 +27,12 @@ END
diag("Tempfile: $filename");
if (RT->can('Config') && RT->Config->can('Set')) {
RT->Config->Set(MailCommand => 'sendmailpipe');
- RT->Config->Set(SendmailPath => "cat > $filename");
+ RT->Config->Set(SendmailPath => "cat > $filename;");
RT->Config->Set(SendmailBounceArguments => '');
RT->Config->Set(SendmailArguments => '');
} else {
$RT::MailCommand = 'sendmailpipe';
- $RT::SendmailPath = "cat > $filename";
+ $RT::SendmailPath = "cat > $filename;";
$RT::SendmailBounceArguments = '';
$RT::SendmailArguments = '';
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list