]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Split up a long line
authorVolker Lendecke <vl@samba.org>
Wed, 22 Aug 2018 15:24:38 +0000 (17:24 +0200)
committerMartin Schwenke <martins@samba.org>
Wed, 19 Feb 2020 09:38:40 +0000 (09:38 +0000)
We'll add another argument soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
selftest/target/Samba3.pm

index ada3e58d9ab4384e48a7920e9b8a4e38fb7abe96..020e01f7ad6b47b7753fe716d0c26551372c56f3 100755 (executable)
@@ -2661,7 +2661,12 @@ sub wait_for_start($$$$$)
 
            my $count = 0;
            do {
-               $ret = system(Samba::bindir_path($self, "smbclient") ." $envvars->{CONFIGURATION} -L $envvars->{SERVER} -U% -p 139");
+               $cmd = Samba::bindir_path($self, "smbclient");
+               $cmd .= " $envvars->{CONFIGURATION}";
+               $cmd .= " -L $envvars->{SERVER}";
+               $cmd .= " -U%";
+               $cmd .= " -p 139";
+               $ret = system($cmd);
                if ($ret != 0) {
                    sleep(1);
                }