Mercurial > vim
comparison src/testdir/test_stat.vim @ 25957:08f63df32e8e v8.2.3512
patch 8.2.3512: timestamp test fails on some systems
Commit: https://github.com/vim/vim/commit/accf4ed352c07ffe59022377c42d36e12dd6d461
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 15 00:38:02 2021 +0100
patch 8.2.3512: timestamp test fails on some systems
Problem: Timestamp test fails on some systems.
Solution: Sleep for a short while.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 15 Oct 2021 01:45:03 +0200 |
parents | d7e1cf30728c |
children | a21a47c83e0c |
comparison
equal
deleted
inserted
replaced
25956:5a9e1b8fc4bf | 25957:08f63df32e8e |
---|---|
101 set autoread | 101 set autoread |
102 call setline(1, 'foo') | 102 call setline(1, 'foo') |
103 | 103 |
104 w! | 104 w! |
105 silent !echo bar > Xautoread | 105 silent !echo bar > Xautoread |
106 sleep 10m | |
106 checktime | 107 checktime |
107 | 108 |
108 call assert_equal('bar', trim(getline(1))) | 109 call assert_equal('bar', trim(getline(1))) |
109 call delete('Xautoread') | 110 call delete('Xautoread') |
110 endfunc | 111 endfunc |