diff -r f8dc6599da5d -r 9fa429723f26 tests/test-commit.t --- a/tests/test-commit.t Fri Aug 15 04:37:46 2014 +0200 +++ b/tests/test-commit.t Fri Aug 15 23:05:53 2014 +0900 @@ -4,7 +4,12 @@ $ cd test $ echo foo > foo $ hg add foo - $ HGEDITOR=true hg commit -m "" + $ cat > $TESTTMP/checkeditform.sh < env | grep HGEDITFORM + > true + > EOF + $ HGEDITOR="sh $TESTTMP/checkeditform.sh" hg commit -m "" + HGEDITFORM=commit.normal abort: empty commit message [255] $ hg commit -d '0 0' -m commit-1