mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Added a test
This commit is contained in:
parent
05ee63b7f5
commit
f2672233d9
29
tests/queries/0_stateless/01370_client_autocomplete_word_break_characters.sh
Executable file
29
tests/queries/0_stateless/01370_client_autocomplete_word_break_characters.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
log_user 0
|
||||
set timeout 1
|
||||
match_max 100000
|
||||
|
||||
spawn clickhouse-client
|
||||
expect ":) "
|
||||
|
||||
# Make a query
|
||||
send -- "SET max_distributed"
|
||||
expect "SET max_distributed"
|
||||
|
||||
# Wait for suggestions to load, they are loaded in background
|
||||
set is_done 0
|
||||
while {$is_done == 0} {
|
||||
send -- "\t"
|
||||
expect {
|
||||
"_connections" {
|
||||
set is_done 1
|
||||
}
|
||||
default {
|
||||
sleep 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
send -- "\3\4"
|
||||
expect eof
|
Loading…
Reference in New Issue
Block a user