projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e081bb5
)
Fix test suite hang on Win32 caused by change #23898
Steve Hay [Mon, 31 Jan 2005 10:03:56 +0000 (10:03 +0000)]
("perl -e sleep 3" does an indefinite sleep!)
p4raw-link: @23898 on //depot/perl:
75af1a9c52a124d2be09fece4ba0d7bc6091ed01
p4raw-id: //depot/perl@23905
t/op/alarm.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/alarm.t
b/t/op/alarm.t
index
b77a5ed
..
8be24db
100644
(file)
--- 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`');
}