mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Added test to check client option --echo.
This commit is contained in:
parent
214f072c48
commit
66eb6bf560
@ -0,0 +1,3 @@
|
||||
DROP TABLE IF EXISTS echo_test_0
|
||||
DROP TABLE IF EXISTS echo_test_2;
|
||||
DROP TABLE IF EXISTS echo_test_3
|
12
tests/queries/0_stateless/02151_client_option_echo.sh
Executable file
12
tests/queries/0_stateless/02151_client_option_echo.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# single query echo on
|
||||
${CLICKHOUSE_CLIENT} --echo --query="DROP TABLE IF EXISTS echo_test_0" && \
|
||||
# single query echo off
|
||||
${CLICKHOUSE_CLIENT} --query="DROP TABLE IF EXISTS echo_test_1" && \
|
||||
# multi query echo on
|
||||
${CLICKHOUSE_CLIENT} --echo --multiquery --query="DROP TABLE IF EXISTS echo_test_2;DROP TABLE IF EXISTS echo_test_3" && \
|
||||
# multi query echo off
|
||||
${CLICKHOUSE_CLIENT} --multiquery --query="DROP TABLE IF EXISTS echo_test_4;DROP TABLE IF EXISTS echo_test_5" && \
|
||||
|
||||
true
|
Loading…
Reference in New Issue
Block a user