summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}