r24870: Strip whitespace characters in username (broke tests).
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Sep 2007 21:10:07 +0000 (21:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:03:23 +0000 (15:03 -0500)
(This used to be commit 264f5c9d501f7ceee7934b3f5826e68d7626a499)

source4/selftest/env/Samba3.pm

index bd7848e183168d7392af193947818e54f88ce84f..b699fbb2b54e84de01ab2f1da7d9621260c6ccfc 100644 (file)
@@ -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/..";