svn commit: samba r25869 - in branches/SAMBA_4_0/source/selftest/env: .

metze at samba.org metze at samba.org
Tue Nov 6 09:33:24 GMT 2007


Author: metze
Date: 2007-11-06 09:33:23 +0000 (Tue, 06 Nov 2007)
New Revision: 25869

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25869

Log:
selftest: strip newline from `whoami` output, hopefully fix provision on mac os 10

metze
Modified:
   branches/SAMBA_4_0/source/selftest/env/Samba4.pm


Changeset:
Modified: branches/SAMBA_4_0/source/selftest/env/Samba4.pm
===================================================================
--- branches/SAMBA_4_0/source/selftest/env/Samba4.pm	2007-11-06 09:26:42 UTC (rev 25868)
+++ branches/SAMBA_4_0/source/selftest/env/Samba4.pm	2007-11-06 09:33:23 UTC (rev 25869)
@@ -451,6 +451,7 @@
 	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);



More information about the samba-cvs mailing list