ClickHouse/tests/queries/0_stateless/00686_client_exit_code.sh

12 lines
309 B
Bash
Raw Normal View History

2018-08-08 00:10:01 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
2020-12-28 11:46:53 +00:00
# shellcheck source=../shell_config.sh
2020-08-01 00:51:12 +00:00
. "$CURDIR"/../shell_config.sh
2018-08-08 00:10:01 +00:00
2020-12-28 11:46:53 +00:00
# shellcheck source=./mergetree_mutations.lib
2020-08-01 00:52:41 +00:00
. "$CURDIR"/mergetree_mutations.lib
2018-08-08 00:10:01 +00:00
echo "INSERT INTO test FORMAT CSV" | ${CLICKHOUSE_CLIENT} -n 2>/dev/null
2018-08-08 00:10:01 +00:00
echo $?