mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Better cleanup for Test-proxied-https-auth.px.
This commit is contained in:
parent
de86fc8c82
commit
484ba18aa7
@ -1,3 +1,8 @@
|
|||||||
|
2008-06-12 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* Test-proxied-https-auth.px: Better cleanup, so next test can
|
||||||
|
open the port.
|
||||||
|
|
||||||
2008-05-31 Micah Cowan <micah@cowan.name>
|
2008-05-31 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* Test-N-current.px: Ensure we catch failures.
|
* Test-N-current.px: Ensure we catch failures.
|
||||||
|
@ -87,7 +87,7 @@ sub fork_server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
system ('rm -f needs-auth.txt');
|
system ('rm -f needs-auth.txt');
|
||||||
&fork_server;
|
my $pid = &fork_server;
|
||||||
|
|
||||||
sleep 1;
|
sleep 1;
|
||||||
my $cmdline = $WgetTest::WGETPATH . " --user=fiddle-dee-dee"
|
my $cmdline = $WgetTest::WGETPATH . " --user=fiddle-dee-dee"
|
||||||
@ -98,4 +98,5 @@ my $cmdline = $WgetTest::WGETPATH . " --user=fiddle-dee-dee"
|
|||||||
my $code = system($cmdline);
|
my $code = system($cmdline);
|
||||||
|
|
||||||
warn "Got code: $code\n" if $code;
|
warn "Got code: $code\n" if $code;
|
||||||
|
kill ('TERM', $pid);
|
||||||
exit $code;
|
exit $code;
|
||||||
|
Loading…
Reference in New Issue
Block a user