Skip to content
Snippets Groups Projects
Commit 38292b227deb authored by timeless's avatar timeless
Browse files

tests: test-lock-badness.t message could come later

I got this on gcc112:
@@ -58,8 +58,8 @@
   $ hg -R b ci -A -m b --config hooks.precommit="python:`pwd`/hooks.py:sleepone" > stdout &
   $ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf"
   waiting for lock on working directory of b held by '*:*' (glob)
-  got lock after ? seconds (glob)
   $ wait
+  got lock after 1 seconds
   $ cat stdout
   adding b
parent 78074575df2e
No related branches found
No related tags found
No related merge requests found
......@@ -56,5 +56,8 @@
> EOF
$ echo b > b/b
$ hg -R b ci -A -m b --config hooks.precommit="python:`pwd`/hooks.py:sleepone" > stdout &
$ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf"
$ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf" \
> > preup 2>&1
$ wait
$ cat preup
waiting for lock on working directory of b held by '*:*' (glob)
......@@ -60,6 +63,5 @@
waiting for lock on working directory of b held by '*:*' (glob)
got lock after ? seconds (glob)
$ wait
got lock after * seconds (glob)
$ cat stdout
adding b
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment