Date: | Thu, 16 Dec 2004 02:46:09 -0800 |
From: | Richard Soderberg <rsoderberg [...] gmail.com> |
To: | bug-IPC-Run [...] rt.cpan.org, barries [...] slaysys.com |
Subject: | [PATCH IPC-Run-0.78/t/run.t] Fixing spurious darwin test failure |
The following patch is necessary in order to avoid failing a single
test under Darwin. I've attached the IPCRUNDEBUG=4 output prior to
the patch as well; once patched, the sole failure disappears.
- R.
--- t/run.t Fri Sep 26 12:31:26 2003
+++ t/run.t.new Thu Dec 16 02:40:17 2004
@@ -92,7 +92,7 @@
my $h ;
-my $fd_map = _map_fds ;
+my $fd_map;
sub slurp($) {
my ( $f ) = @_ ;
@@ -156,6 +156,8 @@
my @tests = (
+
+sub { ok( $fd_map = _map_fds ) },
sub { ok( _map_fds, $fd_map ) ; $fd_map = _map_fds },
Message body is not shown because sender requested not to inline it.