From: Steve Hay Date: Mon, 31 Jan 2005 10:03:56 +0000 (+0000) Subject: Fix test suite hang on Win32 caused by change #23898 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=28849697770a958b354afa3e546276a6f15f1d28;p=p5sagit%2Fp5-mst-13.2.git Fix test suite hang on Win32 caused by change #23898 ("perl -e sleep 3" does an indefinite sleep!) p4raw-link: @23898 on //depot/perl: 75af1a9c52a124d2be09fece4ba0d7bc6091ed01 p4raw-id: //depot/perl@23905 --- diff --git a/t/op/alarm.t b/t/op/alarm.t index b77a5ed..8be24db 100644 --- a/t/op/alarm.t +++ b/t/op/alarm.t @@ -53,7 +53,7 @@ is( $@, "ALARM!\n", 'alarm w/$SIG{ALRM} vs system()' ); { local $SIG{"ALRM"} = sub { die }; - eval { alarm(1); my $x = qx($Perl -e sleep 3) }; + eval { alarm(1); my $x = qx($Perl -e "sleep 3") }; chomp (my $foo = "foo\n"); ok($foo eq "foo", '[perl #33928] chomp() fails after alarm(), `sleep`'); }