summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-01 21:10:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:23 -0500
commit398dc6ca8679d455647acaa2d135856e815eec17 (patch)
treee5aab9173e192df90138ba3b214fdd5a95cfa76c /source4/selftest
parent2aea6fe95f2788b080cb0261a1efd6907cf4d6d1 (diff)
downloadsamba-398dc6ca8679d455647acaa2d135856e815eec17.tar.gz
samba-398dc6ca8679d455647acaa2d135856e815eec17.tar.bz2
samba-398dc6ca8679d455647acaa2d135856e815eec17.zip
r24870: Strip whitespace characters in username (broke tests).
(This used to be commit 264f5c9d501f7ceee7934b3f5826e68d7626a499)
Diffstat (limited to 'source4/selftest')
-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/..";