Fix to return buffer output properly.
authorTim Potter <tpot@samba.org>
Wed, 24 May 2000 06:39:48 +0000 (06:39 +0000)
committerTim Potter <tpot@samba.org>
Wed, 24 May 2000 06:39:48 +0000 (06:39 +0000)
(This used to be commit 6d50bb36a68c34c5fea1193fd6f170160e16e76f)

testsuite/lib/smbclient.exp

index e137ebd6c850e6d56069ec78975fa3e07afe9af2..6528d784fa57217d9c3ffc5537cb0f957df571c5 100644 (file)
@@ -42,11 +42,11 @@ proc do_smbclient { args } {
     send $action
 
     expect {
     send $action
 
     expect {
-       $smb_prompt     { set output $expect_out(0,string) }
+       $smb_prompt     {}
        timeout         { perror "timed out $description"; return -1}
        eof             { perror "end of file description"; return -1 }
     }
 
        timeout         { perror "timed out $description"; return -1}
        eof             { perror "end of file description"; return -1 }
     }
 
-    verbose $output
-    return $output
+    verbose $expect_out(buffer)
+    return $expect_out(buffer)
 }
 }