# HG changeset patch # User timeless # Date 1970-01-01 00:00:00 # Node ID 38292b227debf6393dc1e2c6ff886f85f6673646 # Parent 78074575df2e86a26eabb2ab83a3226ce5f1dff0 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 diff --git a/tests/test-lock-badness.t b/tests/test-lock-badness.t --- a/tests/test-lock-badness.t +++ b/tests/test-lock-badness.t @@ -56,10 +56,12 @@ One process waiting for another > 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