ClickHouse/tests/queries/0_stateless/helpers/02112_prepare.sh
Azat Khuzhin 06ac2cd6cd tests: fix 02112_delayed_clickhouse_*_with_queries_file
- fix variables inside prepare.sh
- fix variables for invoking prepare.sh
- fix path to queries file
- wait for eof on client (exiting client is required to catch all
  possible issues, that can be reported by i.e. ASan on exit)
- fix spawning of clean.sh by replace with system

Cc: @kssenii
2021-12-29 10:02:38 +03:00

6 lines
205 B
Bash
Executable File

#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
FILE=${CURDIR}/../file_02112
echo "drop table if exists t;create table t(i Int32) engine=Memory; insert into t select 1" > "$FILE"