projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422a9ac
)
Some shells seemingly arrange the signal handlers differently
author
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 28 May 2001 21:44:06 +0000
(21:44 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 28 May 2001 21:44:06 +0000
(21:44 +0000)
(bug id
20010521
.004).
p4raw-id: //depot/perl@10270
t/lib/sigaction.t
patch
|
blob
|
history
diff --git
a/t/lib/sigaction.t
b/t/lib/sigaction.t
index 8b0a907e445024dc5b2288fc36cbd8209dbf6653..1815b195104e87d1615cd9fda7433cb8543ebc3b 100644
(file)
--- a/
t/lib/sigaction.t
+++ b/
t/lib/sigaction.t
@@
-44,7
+44,7
@@
my $oldaction=POSIX::SigAction->new('::bar', new POSIX::SigSet(), 0);
}
if($oldaction->{HANDLER} eq 'DEFAULT' ||
-
(! -t STDIN && $oldaction->{HANDLER} eq 'IGNORE')
)
+
$oldaction->{HANDLER} eq 'IGNORE'
)
{ print "ok 2\n" } else { print "not ok 2 # ", $oldaction->{HANDLER}, "\n"}
print $SIG{HUP} eq '::foo' ? "ok 3\n" : "not ok 3\n";