Add a test

This commit is contained in:
Alexey Milovidov 2021-04-01 06:22:05 +03:00
parent 14f2cf9b80
commit da769ef6c3
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
Code: 241

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL&max_memory_usage=1G" -d "SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number" | grep -oF 'Code: 241'