summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--t/superuser--http.t2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 26945335..69f1c4b7 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@
o skip tests if we have no supported downloader
o skip weak deps test on CentOS 7 (unsupported)
o testsuite needs rpmtools
+ o workaround disabled nobody account (eg on CentOS7)
Version 8.120 - 21 October 2019
diff --git a/t/superuser--http.t b/t/superuser--http.t
index 1477bc8c..625c1076 100644
--- a/t/superuser--http.t
+++ b/t/superuser--http.t
@@ -58,7 +58,7 @@ sub test_exotic_medium_name {
sub run_urpm_cmd_as_user {
my ($cmd) = @_;
- my $full_cmd = "su nobody -c '" . urpm_cmd($cmd). "'";
+ my $full_cmd = "su nobody -s /bin/sh -c '" . urpm_cmd($cmd). "'";
warn "# $full_cmd\n";
`$full_cmd`;
}