mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
r25869: selftest: strip newline from whoami
output, hopefully fix provision on mac os 10
metze (This used to be commit c6c62abc07888743b6349b0107ee1b17265bd154)
This commit is contained in:
parent
49c4a40e2f
commit
7a09d8c4e4
1
source4/selftest/env/Samba4.pm
vendored
1
source4/selftest/env/Samba4.pm
vendored
@ -451,6 +451,7 @@ sub provision($$$$$$)
|
||||
my $dnsname = "samba.example.com";
|
||||
my $basedn = "dc=samba,dc=example,dc=com";
|
||||
my $unix_name = ($ENV{USER} or $ENV{LOGNAME} or `whoami`);
|
||||
chomp $unix_name;
|
||||
my $unix_uid = $>;
|
||||
my $unix_gids_str = $);
|
||||
my @unix_gids = split(" ", $unix_gids_str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user