summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/selftest/env/Samba3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/env/Samba3.pm b/source4/selftest/env/Samba3.pm
index bd7848e183..b699fbb2b5 100644
--- a/source4/selftest/env/Samba3.pm
+++ b/source4/selftest/env/Samba3.pm
@@ -185,6 +185,7 @@ sub provision($$)
my $server = "localhost2";
my $server_ip = "127.0.0.2";
my $username = `PATH=/usr/ucb:$ENV{PATH} whoami`;
+ chomp $username;
my $password = "test";
my $srcdir="$RealBin/..";