Updated tests

This commit is contained in:
Maksim Kita 2021-07-23 11:13:51 +03:00
parent 222915c275
commit 7e08748c5b
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,6 @@
doc
abc
abc
1
1
1

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
curl -sS "${CLICKHOUSE_URL}&query=SELECT%20%24%24doc%24%24VALUE%24%24doc%24%24";
curl -sS "${CLICKHOUSE_URL}&query=SELECT%20%24%24abc%24%24";
curl -sS "${CLICKHOUSE_URL}&query=SELECT%20%24%24abc%24%24d";
curl -sS "${CLICKHOUSE_URL}&query=SELECT%20%24%24ab" | grep -c "DB::Exception";
curl -sS "${CLICKHOUSE_URL}&query=SELECT%20%24%24" | grep -c "DB::Exception";
curl -sS "${CLICKHOUSE_URL}&query=SELECT%20%24" | grep -c "DB::Exception";