diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-17 04:26:58 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-09 17:50:35 +0200 |
commit | 8a314f0fcbe078c2b9e9663bb4491577dfa51aef (patch) | |
tree | 92d0870acde0d236d93a199295801ac170c86c85 /t | |
parent | b870c2c387e563b5b8354420ffd9aa0b386dcf07 (diff) | |
download | urpmi-8a314f0fcbe078c2b9e9663bb4491577dfa51aef.tar urpmi-8a314f0fcbe078c2b9e9663bb4491577dfa51aef.tar.gz urpmi-8a314f0fcbe078c2b9e9663bb4491577dfa51aef.tar.bz2 urpmi-8a314f0fcbe078c2b9e9663bb4491577dfa51aef.tar.xz urpmi-8a314f0fcbe078c2b9e9663bb4491577dfa51aef.zip |
cpan_testers: workaround disabled nobody account
On CentOS7, the error message is:
'This account is currently not available.'
Diffstat (limited to 't')
-rw-r--r-- | t/superuser--http.t | 2 |
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`; } |