comparison tests/test-dirstate-race2.t @ 48374:a4a5d123fb03

tests: make sure no ambiguities remains after the commit This will help to stabilize part of the test that are not relevant for what is actually tested. Differential Revision: https://phab.mercurial-scm.org/D11778
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 18 Nov 2021 00:08:57 +0100
parents bf11ff22a9af
children f838f5bca038
comparison
equal deleted inserted replaced
48373:f3f41e23c1fa 48374:a4a5d123fb03
17 $ cd repo 17 $ cd repo
18 $ echo a > a 18 $ echo a > a
19 $ hg commit -qAm _ 19 $ hg commit -qAm _
20 $ echo aa > a 20 $ echo aa > a
21 $ hg commit -m _ 21 $ hg commit -m _
22 # this sleep is there to ensure current time has -at-least- one second away
23 # from the current time. It ensure the mtime is not ambiguous. If the test
24 # "sleep" longer this will be fine.
25 # It is not used to synchronise parallele operation so it is "fine" to use it.
26 $ sleep 1
27 $ hg status
22 28
23 $ hg debugdirstate --no-dates 29 $ hg debugdirstate --no-dates
24 n 644 3 (set |unset) a (re) 30 n 644 3 (set |unset) a (re)
25 31
26 $ cat >> $TESTTMP/dirstaterace.py << EOF 32 $ cat >> $TESTTMP/dirstaterace.py << EOF