test-rollback: fix reference to /bin/false (fails on OSX)
authorPatrick Mezard <pmezard@gmail.com>
Mon, 30 Nov 2009 23:39:58 +0100
changeset 9969 361bee1ec172
parent 9968 8c923a18e7ae
child 9972 f603299ffa7a
test-rollback: fix reference to /bin/false (fails on OSX)
tests/test-rollback
--- a/tests/test-rollback	Mon Nov 30 23:27:37 2009 +0100
+++ b/tests/test-rollback	Mon Nov 30 23:39:58 2009 +0100
@@ -33,7 +33,7 @@
 
 echo '% rollback by pretxncommit saves commit message (issue 1635)'
 echo a >> a
-hg --config hooks.pretxncommit=/bin/false commit -m"precious commit message"
+hg --config hooks.pretxncommit=false commit -m"precious commit message"
 echo '.hg/last-message.txt:'
 cat .hg/last-message.txt ; echo
 
@@ -43,6 +43,6 @@
 echo "another precious commit message" > "$1"
 __EOF__
 chmod +x $HGTMP/editor
-HGEDITOR=$HGTMP/editor hg --config hooks.pretxncommit=/bin/false commit
+HGEDITOR=$HGTMP/editor hg --config hooks.pretxncommit=false commit
 echo '.hg/last-message.txt:'
 cat .hg/last-message.txt