" Force DST and check that it's considered.
" MS-Windows CRT tzset() does not parse POSIX TZ strings with DST rules.
- if !has('win32')
+ if !has('win32') && !has('sun')
let $TZ = 'WINTER0SUMMER,J1,J365'
call assert_equal(1484653763 - 3600, strptime('%Y-%m-%d %T', '2017-01-17 11:49:23'))
endif
call assert_equal('ОШИБКА: for __PACKAGE__', gettext("ERROR: ", "__PACKAGE__"))
call assert_equal('ОШИБКА: for __PACKAGE__', ngettext("ERROR: ", "ERRORS: ", 1, "__PACKAGE__"))
- call assert_equal('ОШИБКА: for __PACKAGE__', ngettext("ERROR: ", "ERRORS: ", 2, "__PACKAGE__"))
+ if !has('sun')
+ call assert_equal('ОШИБКА: for __PACKAGE__', ngettext("ERROR: ", "ERRORS: ", 2, "__PACKAGE__"))
+ endif
call assert_equal('%d буфер удалён из памяти for __PACKAGE__', ngettext("%d buffer unloaded", "%d buffers unloaded", 1, "__PACKAGE__"))
call assert_equal('%d буфера удалено из памяти for __PACKAGE__', ngettext("%d buffer unloaded", "%d buffers unloaded", 2, "__PACKAGE__"))
\ ]
if RunVim([], after, '<(cat Xtestin_fifo)')
let lines = readfile('Xtestout')
- call assert_match('\[fifo\]', lines[0])
- call assert_match('\[fifo\]', lines[1])
+ let filetype = has('sun') ? '\[character special\]' : '\[fifo\]'
+ call assert_match(filetype, lines[0])
+ call assert_match(filetype, lines[1])
else
call assert_equal('', 'RunVim failed.')
endif
\ 'set termencoding=utf-8',
\ 'scriptencoding utf-8',
\ 'exe "normal aE83: バッファを作成できないので、他のを使用します...\<Esc>"',
- \ 'split Xeuc_jp.txt',
+ \ has('sun') ? 'split ++enc=euc-jp Xeuc_jp.txt' : 'split Xeuc_jp.txt',
\ ], 'XTest_tenc_euc_jp', 'D')
let buf = RunVimInTerminal('-S XTest_tenc_euc_jp', {'rows': 10})
call VerifyScreenDump(buf, 'Test_tenc_euc_jp_01', {})
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 694,
/**/
693,
/**/