From a9c25579ce392bd9e5ed0324524cddfd8850d6fb Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 22 Mar 2021 22:53:39 +0300 Subject: [PATCH] More tests --- tests/queries/0_stateless/01767_timezoneOf.reference | 2 +- tests/queries/0_stateless/01767_timezoneOf.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/01767_timezoneOf.reference b/tests/queries/0_stateless/01767_timezoneOf.reference index 63c027eecfd..0a8a8c32d4e 100644 --- a/tests/queries/0_stateless/01767_timezoneOf.reference +++ b/tests/queries/0_stateless/01767_timezoneOf.reference @@ -1 +1 @@ -Asia/Tehran Asia/Tehran Asia/Tehran Africa/Accra +Asia/Tehran Asia/Tehran Asia/Tehran Africa/Accra Pacific/Pitcairn diff --git a/tests/queries/0_stateless/01767_timezoneOf.sh b/tests/queries/0_stateless/01767_timezoneOf.sh index 428db2ee737..9dee051ee3f 100755 --- a/tests/queries/0_stateless/01767_timezoneOf.sh +++ b/tests/queries/0_stateless/01767_timezoneOf.sh @@ -4,4 +4,4 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CUR_DIR"/../shell_config.sh -TZ=Asia/Tehran $CLICKHOUSE_LOCAL --query "SELECT timezone(), timezoneOf(now()), timeZone(), timeZoneOf(toTimezone(toNullable(now()), 'Africa/Accra'))" +TZ=Asia/Tehran $CLICKHOUSE_LOCAL --query "SELECT timezone(), timezoneOf(now()), timeZone(), timeZoneOf(toTimezone(toNullable(now()), 'Africa/Accra')), timeZoneOf(toTimeZone(now64(3), 'Pacific/Pitcairn'))"