changeset 9969:361bee1ec172

test-rollback: fix reference to /bin/false (fails on OSX)
author Patrick Mezard <pmezard@gmail.com>
date Mon, 30 Nov 2009 23:39:58 +0100
parents 8c923a18e7ae
children f603299ffa7a
files tests/test-rollback
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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