summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-05-24 06:39:48 +0000
committerTim Potter <tpot@samba.org>2000-05-24 06:39:48 +0000
commitb0953a35959c70f2a9a55149732daa77cf3e5235 (patch)
treefea49319517980d0f9ed2030b236af944a8641e6 /testsuite
parent9eee36f61d602a567fd729c7322028e758011dc1 (diff)
downloadsamba-b0953a35959c70f2a9a55149732daa77cf3e5235.tar.gz
samba-b0953a35959c70f2a9a55149732daa77cf3e5235.tar.bz2
samba-b0953a35959c70f2a9a55149732daa77cf3e5235.zip
Fix to return buffer output properly.
(This used to be commit 6d50bb36a68c34c5fea1193fd6f170160e16e76f)
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/lib/smbclient.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/lib/smbclient.exp b/testsuite/lib/smbclient.exp
index e137ebd6c8..6528d784fa 100644
--- a/testsuite/lib/smbclient.exp
+++ b/testsuite/lib/smbclient.exp
@@ -42,11 +42,11 @@ proc do_smbclient { args } {
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 }
}
- verbose $output
- return $output
+ verbose $expect_out(buffer)
+ return $expect_out(buffer)
}