Add missing file

This commit is contained in:
Alexey Milovidov 2020-10-16 03:38:32 +03:00
parent 2efd740dc7
commit 90a3e95aab

View File

@ -0,0 +1,12 @@
#!/usr/bin/expect -f
log_user 0
set timeout 5
match_max 100000
if ![info exists env(CLICKHOUSE_PORT_TCP)] {set env(CLICKHOUSE_PORT_TCP) 9000}
spawn clickhouse-client --port "$env(CLICKHOUSE_PORT_TCP)"
expect ":) "
send -- "\4"
expect eof