[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-25-g29fd58b
Ruslan Zakirov
ruz at bestpractical.com
Fri May 7 17:02:39 EDT 2010
The branch, 3.8-trunk has been updated
via 29fd58b69527eb8d42fd6e3a321eed11de1a06b3 (commit)
via f16666e44791bc2719bcc72ff3cc27f0f829f330 (commit)
via 88312622c727bca17b28627029e818fcb1f73ff3 (commit)
via 212cde8f1038f1fe44d623e95092e0247d392f4d (commit)
via b066b01b7e749c8c2dea0d594d63e93b2379be98 (commit)
via 42dfc096b656cf8ad19cb40b2a50fa84ee2f063b (commit)
via 3efeed20de95312edca7007f53d6133d04d18411 (commit)
from c2cc19d365ee3ba575cd7644195177d3838ec119 (commit)
Summary of changes:
lib/RT/Test.pm | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit f16666e44791bc2719bcc72ff3cc27f0f829f330
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed May 5 13:27:47 2010 +0400
don't pass after_open argument further, it's local
diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 3bea324..8955170 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -694,6 +694,8 @@ sub run_and_capture {
my $self = shift;
my %args = @_;
+ my $after_open = delete $args{after_open};
+
my $cmd = delete $args{'command'};
die "Couldn't find command ($cmd)" unless -f $cmd;
@@ -711,7 +713,7 @@ sub run_and_capture {
my ($child_out, $child_in);
my $pid = IPC::Open2::open2($child_out, $child_in, $cmd);
- $args{after_open}->($child_in, $child_out) if $args{after_open};
+ $after_open->($child_in, $child_out) if $after_open;
close $child_in;
commit 29fd58b69527eb8d42fd6e3a321eed11de1a06b3
Merge: f16666e 8831262
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Sat May 8 01:02:06 2010 +0400
Merge branch '3.8.8-releng' into 3.8-trunk
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list