diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-06 09:33:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:44:33 +0100 |
commit | 7a09d8c4e4ea90b965c0421a487147bca7cbd944 (patch) | |
tree | 97921dc526662344b58a6879c4aee1f2e867689f /source4 | |
parent | 49c4a40e2f87b3e37f3248464c43118c6c8aaadb (diff) | |
download | samba-7a09d8c4e4ea90b965c0421a487147bca7cbd944.tar.gz samba-7a09d8c4e4ea90b965c0421a487147bca7cbd944.tar.xz samba-7a09d8c4e4ea90b965c0421a487147bca7cbd944.zip |
r25869: selftest: strip newline from `whoami` output, hopefully fix provision on mac os 10
metze
(This used to be commit c6c62abc07888743b6349b0107ee1b17265bd154)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/selftest/env/Samba4.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/env/Samba4.pm b/source4/selftest/env/Samba4.pm index f4fe723124b..bf8f35990cd 100644 --- a/source4/selftest/env/Samba4.pm +++ b/source4/selftest/env/Samba4.pm @@ -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); |