changeset 29008:38292b227deb stable

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
author timeless <timeless@mozdev.org>
date Thu, 01 Jan 1970 00:00:00 +0000
parents 78074575df2e
children c05cc1b95848
files tests/test-lock-badness.t
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lock-badness.t	Sat Apr 23 12:47:57 2016 -0700
+++ b/tests/test-lock-badness.t	Thu Jan 01 00:00:00 1970 +0000
@@ -56,10 +56,12 @@
   > 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)
-  got lock after ? seconds (glob)
-  $ wait
+  got lock after * seconds (glob)
   $ cat stdout
   adding b