--- a/tests/test-rollback Fri Mar 26 17:02:49 2010 +0100
+++ b/tests/test-rollback Wed Mar 24 01:43:24 2010 +0100
@@ -42,7 +42,7 @@
#!/bin/sh
echo "another precious commit message" > "$1"
__EOF__
-chmod +x $HGTMP/editor
-HGEDITOR=$HGTMP/editor hg --config hooks.pretxncommit=false commit 2>&1 | sed 's,exited with status .*,exited ...,g'
+chmod +x "$HGTMP"/editor
+HGEDITOR="'$HGTMP'"/editor hg --config hooks.pretxncommit=false commit 2>&1 | sed 's,exited with status .*,exited ...,g'
echo '.hg/last-message.txt:'
cat .hg/last-message.txt