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

11 lines
186 B
Plaintext
Raw Normal View History

2020-10-16 00:38:32 +00:00
#!/usr/bin/expect -f
2020-10-25 02:31:58 +00:00
log_user 1
2020-10-16 00:38:32 +00:00
set timeout 5
match_max 100000
spawn bash -c "$env(CLICKHOUSE_CLIENT) --port $env(CLICKHOUSE_PORT_TCP) && echo $?"
2020-10-16 00:38:32 +00:00
expect ":) "
send -- "\4"
expect eof