--- 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