mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
tests fixed
This commit is contained in:
parent
182b2a626c
commit
757247cbd5
@ -1,3 +1,2 @@
|
||||
OK
|
||||
OK
|
||||
|
||||
|
7
dbms/tests/queries/0_stateless/01073_crlf_in_output_csv_format.sh
Normal file → Executable file
7
dbms/tests/queries/0_stateless/01073_crlf_in_output_csv_format.sh
Normal file → Executable file
@ -1,4 +1,6 @@
|
||||
URDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS test_01073_crlf_in_output_csv_format;"
|
||||
@ -11,14 +13,11 @@ else
|
||||
echo "WA"
|
||||
fi
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "SET output_format_csv_crlf_end_of_line = 1;"
|
||||
|
||||
if [[ `${CLICKHOUSE_CLIENT} --output_format_csv_crlf_end_of_line=1 --query "SELECT * FROM test_01073_crlf_in_output_csv_format FORMAT CSV;"`="1,\"hello\"\r\n2,\"world\"\r\n" ]]; then
|
||||
echo "OK"
|
||||
else
|
||||
echo "WA"
|
||||
fi
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "SET output_format_csv_crlf_end_of_line = 0;"
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS test_01073_crlf_in_output_csv_format;"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user