Mercurial > hg
changeset 48394:eea70e3539ed
tests: remove potential mtime ambiguity in a dirstate test
If the test was fast enough, some mtime where not stored. We now wait long
enough to ensure the mtime is no longer ambiguous.
Differential Revision: https://phab.mercurial-scm.org/D11798
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 23 Nov 2021 18:11:42 +0100 |
parents | 1a8a70b4b0ad |
children | 9ae0353c9f5d |
files | tests/test-rebuildstate.t |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-rebuildstate.t Fri Nov 19 03:03:01 2021 +0100 +++ b/tests/test-rebuildstate.t Tue Nov 23 18:11:42 2021 +0100 @@ -79,6 +79,7 @@ $ touch foo bar qux $ hg add qux $ hg remove bar + $ sleep 1 # remove potential ambiguity in mtime $ hg status -A A qux R bar @@ -106,6 +107,7 @@ $ hg manifest bar foo + $ sleep 1 # remove potential ambiguity in mtime $ hg status -A A qux R bar