summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/superuser--http.t2
1 files changed, 1 insertions, 1 deletions
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`;
}