summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rwxr-xr-xt/simple-httpd2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 69f1c4b7..cc4182b5 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,7 @@
o skip weak deps test on CentOS 7 (unsupported)
o testsuite needs rpmtools
o workaround disabled nobody account (eg on CentOS7)
+ o workaround 'nogroup' not existing on CentOS
Version 8.120 - 21 October 2019
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";