tests/test-tag.t
branchstable
changeset 21930 a5168eb9b2bc
parent 21922 50e20154cb68
child 22680 8c65cc0f3c6b
--- a/tests/test-tag.t	Sun Jul 20 15:06:12 2014 -0300
+++ b/tests/test-tag.t	Mon Jul 21 11:27:24 2014 -0700
@@ -242,8 +242,7 @@
   $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg tag custom-tag -e
   abort: pretag.test-saving-lastmessage hook exited with status 1
   [255]
-  $ cat .hg/last-message.txt
-  cat: .hg/last-message.txt: No such file or directory
+  $ test -f .hg/last-message.txt
   [1]
 
 (test that editor is invoked and commit message is saved into