tests/test-hook.t
branchstable
changeset 24827 2f2de8a7f97f
parent 24821 57f1dbc99631
child 24881 51844b8b5017
--- a/tests/test-hook.t	Mon Apr 20 18:13:44 2015 -0500
+++ b/tests/test-hook.t	Mon Apr 20 13:43:10 2015 -0400
@@ -17,7 +17,7 @@
   > pretxnclose = sh -c "HG_LOCAL= HG_TAG= python \"$TESTDIR/printenv.py\" pretxnclose"
   > txnclose = sh -c "HG_LOCAL= HG_TAG= python \"$TESTDIR/printenv.py\" txnclose"
   > txnabort = sh -c "HG_LOCAL= HG_TAG= python \"$TESTDIR/printenv.py\" txnabort"
-  > txnclose.checklock = hg debuglock > /dev/null
+  > txnclose.checklock = sh -c "hg debuglock > /dev/null"
   > EOF
   $ echo a > a
   $ hg add a