diff --git a/tests/queries/0_stateless/02050_clickhouse_client_local_exception.reference b/tests/queries/0_stateless/02050_clickhouse_client_local_exception.reference index 2c94e483710..d86bac9de59 100644 --- a/tests/queries/0_stateless/02050_clickhouse_client_local_exception.reference +++ b/tests/queries/0_stateless/02050_clickhouse_client_local_exception.reference @@ -1,2 +1 @@ OK -OK diff --git a/tests/queries/0_stateless/02050_clickhouse_client_local_exception.sh b/tests/queries/0_stateless/02050_clickhouse_client_local_exception.sh index 771070bb4bc..d66cc7048c4 100755 --- a/tests/queries/0_stateless/02050_clickhouse_client_local_exception.sh +++ b/tests/queries/0_stateless/02050_clickhouse_client_local_exception.sh @@ -4,6 +4,5 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh -$CLICKHOUSE_CLIENT --query="SELECT 1 INTO OUTFILE 'test.native.zst' FORMAT Native" 2>&1 | grep -q "Code: 76. DB::ErrnoException: Cannot open file test.native.zst, errno: 17, strerror: File exists." && echo 'OK' || echo 'FAIL' ||: -$CLICKHOUSE_LOCAL --query="SELECT 1 INTO OUTFILE 'test.native.zst' FORMAT Native" 2>&1 | grep -q "Code: 76. DB::ErrnoException: Cannot open file test.native.zst, errno: 17, strerror: File exists." && echo 'OK' || echo 'FAIL' ||: - +touch test_exception +$CLICKHOUSE_LOCAL --query="SELECT 1 INTO OUTFILE 'test_exception' FORMAT Native" 2>&1 | grep -q "Code: 76. DB::ErrnoException:" && echo 'OK' || echo 'FAIL' ||: