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
commit6d50bb36a68c34c5fea1193fd6f170160e16e76f (patch)
treeebcca144ae86b4a49affa506a06e4521386aa5ca /testsuite
parent6c15495b3087c04890af77149c39e823596bb4dd (diff)
downloadsamba-6d50bb36a68c34c5fea1193fd6f170160e16e76f.tar.gz
Fix to return buffer output properly.
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 e137ebd6c85..6528d784fa5 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)
}