summaryrefslogtreecommitdiffstats
path: root/t/simple-httpd
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-17 04:30:56 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 17:50:35 +0200
commit3f9f0b7803eb93ba1d6d18c6a68d3f04260f8872 (patch)
treeeb9f532d95997629f69b0973825d834b74f1e895 /t/simple-httpd
parent8a314f0fcbe078c2b9e9663bb4491577dfa51aef (diff)
downloadurpmi-3f9f0b7803eb93ba1d6d18c6a68d3f04260f8872.tar
urpmi-3f9f0b7803eb93ba1d6d18c6a68d3f04260f8872.tar.gz
urpmi-3f9f0b7803eb93ba1d6d18c6a68d3f04260f8872.tar.bz2
urpmi-3f9f0b7803eb93ba1d6d18c6a68d3f04260f8872.tar.xz
urpmi-3f9f0b7803eb93ba1d6d18c6a68d3f04260f8872.zip
cpan_testers: workaround 'nogroup' not existing on CentOS
Diffstat (limited to 't/simple-httpd')
-rwxr-xr-xt/simple-httpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/simple-httpd b/t/simple-httpd
index 0ed862fc..934b98f1 100755
--- a/t/simple-httpd
+++ b/t/simple-httpd
@@ -24,7 +24,7 @@ sub configure_hook {
$self->{server}->{port} = "*:$PORT"; # port and addr to bind
$self->{server}->{user} = 'nobody'; # user to run as
- $self->{server}->{group} = 'nogroup'; # group 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";