diff options
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/kern/splice/Proc.pm | 4 | ||||
-rw-r--r-- | regress/sys/kern/splice/Relay.pm | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/regress/sys/kern/splice/Proc.pm b/regress/sys/kern/splice/Proc.pm index ac04baa9938..8e1838f00d1 100644 --- a/regress/sys/kern/splice/Proc.pm +++ b/regress/sys/kern/splice/Proc.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Proc.pm,v 1.1 2011/01/07 22:06:08 bluhm Exp $ +# $OpenBSD: Proc.pm,v 1.2 2011/08/28 13:27:35 bluhm Exp $ # Copyright (c) 2010 Alexander Bluhm <bluhm@openbsd.org> # @@ -35,8 +35,8 @@ BEGIN { } END { - $SIG{TERM} = $SIG{INT} = 'DEFAULT'; kill TERM => keys %CHILDREN; + $SIG{TERM} = $SIG{INT} = 'DEFAULT'; } sub new { diff --git a/regress/sys/kern/splice/Relay.pm b/regress/sys/kern/splice/Relay.pm index c2ac5240cd5..f2e7f903462 100644 --- a/regress/sys/kern/splice/Relay.pm +++ b/regress/sys/kern/splice/Relay.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Relay.pm,v 1.1 2011/01/07 22:06:08 bluhm Exp $ +# $OpenBSD: Relay.pm,v 1.2 2011/08/28 13:27:35 bluhm Exp $ # Copyright (c) 2010 Alexander Bluhm <bluhm@openbsd.org> # @@ -30,6 +30,8 @@ sub new { my %args = @_; $args{logfile} ||= "relay.log"; $args{up} ||= "Connected"; + $args{forward} + or croak "$class forward not given"; my $self = Proc::new($class, %args); $self->{listendomain} or croak "$class listen domain not given"; |