tests: test-lock-badness.t message could come later stable
authortimeless <timeless@mozdev.org>
Thu, 01 Jan 1970 00:00:00 +0000
branchstable
changeset 29008 38292b227deb
parent 29007 78074575df2e
child 29009 c05cc1b95848
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
tests/test-lock-badness.t
--- 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