changeset 17137:ca4e6685e2f4 v8.1.1568

patch 8.1.1568: strftime() test fails on MS-Windows commit https://github.com/vim/vim/commit/87652a7e3b94755084944afec51a0bfcd8b0a0c3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 18 23:07:37 2019 +0200 patch 8.1.1568: strftime() test fails on MS-Windows Problem: Strftime() test fails on MS-Windows. Solution: Skip the check for using the $TZ environment variable.
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Jun 2019 23:15:06 +0200
parents d173bf03e8dd
children 7771d0e1b072
files src/testdir/test_functions.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -202,7 +202,10 @@ func Test_strftime()
   " are, a tzset(3) call may have failed somewhere
   call assert_equal(strlen(est), 2)
   call assert_equal(strlen(utc), 2)
-  call assert_notequal(est, utc)
+  " TODO: this fails on MS-Windows
+  if has('unix')
+    call assert_notequal(est, utc)
+  endif
 
   " If we cached a timezone value, put it back, otherwise clear it
   if exists('tz')
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1568,
+/**/
     1567,
 /**/
     1566,