comparison tests/test-lock-badness.t @ 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 56b2bcea2529
children 0c8c388c7d62
comparison
equal deleted inserted replaced
29007:78074575df2e 29008:38292b227deb
54 > def sleepone(**x): time.sleep(1) 54 > def sleepone(**x): time.sleep(1)
55 > def sleephalf(**x): time.sleep(0.5) 55 > def sleephalf(**x): time.sleep(0.5)
56 > EOF 56 > EOF
57 $ echo b > b/b 57 $ echo b > b/b
58 $ hg -R b ci -A -m b --config hooks.precommit="python:`pwd`/hooks.py:sleepone" > stdout & 58 $ hg -R b ci -A -m b --config hooks.precommit="python:`pwd`/hooks.py:sleepone" > stdout &
59 $ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf" 59 $ hg -R b up -q --config hooks.pre-update="python:`pwd`/hooks.py:sleephalf" \
60 > > preup 2>&1
61 $ wait
62 $ cat preup
60 waiting for lock on working directory of b held by '*:*' (glob) 63 waiting for lock on working directory of b held by '*:*' (glob)
61 got lock after ? seconds (glob) 64 got lock after * seconds (glob)
62 $ wait
63 $ cat stdout 65 $ cat stdout
64 adding b 66 adding b
65 67
66 Pushing to a local read-only repo that can't be locked 68 Pushing to a local read-only repo that can't be locked
67 69