summaryrefslogtreecommitdiffstats
path: root/t/simple-httpd
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-23 23:00:05 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 14:41:03 +0200
commitffb72d9f9da27c7767849e669fe8e2ef365bdda2 (patch)
treed8f6d730e51041ec528cf33ddbe740ed4b533f4c /t/simple-httpd
parent71e0694ff91cdfc214a23ab2e5fb7014a0bbe295 (diff)
downloadurpmi-ffb72d9f9da27c7767849e669fe8e2ef365bdda2.tar
urpmi-ffb72d9f9da27c7767849e669fe8e2ef365bdda2.tar.gz
urpmi-ffb72d9f9da27c7767849e669fe8e2ef365bdda2.tar.bz2
urpmi-ffb72d9f9da27c7767849e669fe8e2ef365bdda2.tar.xz
urpmi-ffb72d9f9da27c7767849e669fe8e2ef365bdda2.zip
do not fork (daemonize is implied by {setsid})
Thus fixing killing simple-httpd when test completes, which was broken since basically forever. This prevents dummy testsuite faillures when performing parallel runs on different perl/rpm versions (eg: using chroots).
Diffstat (limited to 't/simple-httpd')
-rwxr-xr-xt/simple-httpd1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/simple-httpd b/t/simple-httpd
index 123950ae..1f758699 100755
--- a/t/simple-httpd
+++ b/t/simple-httpd
@@ -25,7 +25,6 @@ sub configure_hook {
$self->{server}->{port} = "*:$PORT"; # port and addr to bind
$self->{server}->{user} = 'nobody'; # user to run as
$self->{server}->{group} = 'nogroup' if -e '/etc/mageia-release'; # group to run as
- $self->{server}->{setsid} = 1; # daemonize
$self->{server}->{log_file} = "$root/server.log";