From ffb72d9f9da27c7767849e669fe8e2ef365bdda2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 23 Apr 2020 23:00:05 +0200 Subject: 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). --- NEWS | 1 + t/simple-httpd | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index fc62dd18..4eaa2205 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ o describe it more o disable fsync/fdatasync while running tests o make it more robust + o make sure simple-httpd is really killed once tests are completed Version 8.121 - 8 April 2020 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"; -- cgit v1.2.1