From 1082619320649d7a7d86bde979509916bb6fa1eb Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 8 Aug 2018 03:10:01 +0300 Subject: [PATCH] Added test #2813 --- .../queries/0_stateless/00686_client_exit_code.reference | 1 + dbms/tests/queries/0_stateless/00686_client_exit_code.sh | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00686_client_exit_code.reference create mode 100755 dbms/tests/queries/0_stateless/00686_client_exit_code.sh diff --git a/dbms/tests/queries/0_stateless/00686_client_exit_code.reference b/dbms/tests/queries/0_stateless/00686_client_exit_code.reference new file mode 100644 index 00000000000..3b20426c050 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00686_client_exit_code.reference @@ -0,0 +1 @@ +108 diff --git a/dbms/tests/queries/0_stateless/00686_client_exit_code.sh b/dbms/tests/queries/0_stateless/00686_client_exit_code.sh new file mode 100755 index 00000000000..996dac1b6bc --- /dev/null +++ b/dbms/tests/queries/0_stateless/00686_client_exit_code.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +. $CURDIR/../shell_config.sh + +. $CURDIR/mergetree_mutations.lib + +echo "INSERT INTO test.test FORMAT CSV" | ${CLICKHOUSE_CLIENT} -n 2>/dev/null +echo $?