ClickHouse/tests/queries/0_stateless/01526_client_start_and_exit.expect

11 lines
186 B
Plaintext
Executable File

#!/usr/bin/expect -f
log_user 1
set timeout 5
match_max 100000
spawn bash -c "$env(CLICKHOUSE_CLIENT) --port $env(CLICKHOUSE_PORT_TCP) && echo $?"
expect ":) "
send -- "\4"
expect eof