From 92622274c00cedce923c805b697ac9a75f375e24 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 4 Dec 2017 17:13:43 -0800 Subject: [PATCH] s3: test_smbclient_s3: Correctly set and unset TZ variable for test. Signed-off-by: Jeremy Allison --- source3/script/tests/test_smbclient_s3.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index d98da0dd260..84f6ef5892e 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -1419,6 +1419,10 @@ test_utimes() { tmpfile=$PREFIX/smbclient_interactive_prompt_commands + saved_TZ="$TZ" + TZ=UTC + export TZ + cat > $tmpfile <