mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add test for --no-secure
This commit is contained in:
parent
55f7595c43
commit
463b90e058
@ -1,3 +1,4 @@
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
|
@ -7,6 +7,8 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
$CLICKHOUSE_CLIENT --no-secure -q "SELECT 0;"
|
||||
|
||||
# Use $CLICKHOUSE_CLIENT_SECURE, but replace `--secure` by `-s` to test it
|
||||
CLICKHOUSE_CLIENT_S=${CLICKHOUSE_CLIENT_SECURE/ --secure / -s }
|
||||
$CLICKHOUSE_CLIENT_S -q "SELECT 1;"
|
||||
|
Loading…
Reference in New Issue
Block a user