develooper Front page | perl.perl5.porters | Postings from June 2012

RE: [perl.git] branch blead, updated. v5.17.1-131-g6281d42

Thread Next
From:
Steve Hay
Date:
June 26, 2012 10:02
Subject:
RE: [perl.git] branch blead, updated. v5.17.1-131-g6281d42
Message ID:
1B32FF956ABF414C9BCE5E487A1497E70DB087DD@ukmail02.planit.group
Tony Cook wrote on 2012-06-26:
> In perl.git, the branch blead has been updated
> 
> <http://perl5.git.perl.org/perl.git/commitdiff/6281d42615d02016987feda
0
> 8aabf27dfe054db3?hp=f1c982a254f412a0b054cc9f1e2e9f51ef7dc696>
> 
> - Log
-----------------------------------------------------------------
> commit 6281d42615d02016987feda08aabf27dfe054db3 Author: Tony Cook
> <tony@develop-help.com> Date:   Tue Jun 26 17:56:44 2012 +1000
> 
>     [perl #45173] port the test to MSWin32
> ----------------------------------------------------------------------
-
> 
> Summary of changes:
>  t/op/sigdispatch.t |   11 +++++++----
>  1 files changed, 7 insertions(+), 4 deletions(-)
> diff --git a/t/op/sigdispatch.t b/t/op/sigdispatch.t index
[...]
> -    kill 'HUP', $$;
> -    is($hup_called, 1);
> +    kill 'INT', $$;
> +    # this is needed to ensure signal delivery on MSWin32
> +    sleep(1);
> +    is($int_called, 1);
>      is($@, "died");
>  }

If we're happy to add sleep(1)s here then is it worth also applying a
similar fix to dist/IO/t/io_sock.t, as suggested a while ago:

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-05/msg00619.
html

Sockets seem as problematic as signals on Windows... :-/


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About