diff tests/test-tag.t @ 21930:a5168eb9b2bc stable

tests: cat error messages are different on Solaris
author Danek Duvall <danek.duvall@oracle.com>
date Mon, 21 Jul 2014 11:27:24 -0700
parents 50e20154cb68
children 8c65cc0f3c6b
line wrap: on
line diff
--- 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