changeset 12853:13984e96cb09 stable

test-win32text.t: stabilize test output The test sometimes failed because f4.bat wasn't dirty. I'm not sure whether it should or shouldn't be dirty, but the extension is broken and deprecated and we just want to see the deprecation warning, so now we just avoid showing the dirtyness.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 27 Oct 2010 03:21:36 +0200
parents 5dbff89cf107
children 5d3f3d577218
files tests/test-win32text.t
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-win32text.t	Wed Oct 27 00:28:40 2010 +0200
+++ b/tests/test-win32text.t	Wed Oct 27 03:21:36 2010 +0200
@@ -393,16 +393,16 @@
 
 Trigger deprecation warning:
 
-  $ hg id
+  $ hg id -t
   win32text is deprecated: http://mercurial.selenic.com/wiki/Win32TextExtension
-  b910084e3c98+ tip
+  tip
 
 Disable warning:
 
   $ echo '[win32text]' >> .hg/hgrc
   $ echo 'warn = no' >> .hg/hgrc
-  $ hg id
-  b910084e3c98+ tip
+  $ hg id -t
+  tip
 
   $ rm f3 f4.bat bin
   $ hg co -C 2>&1 | python -c 'import sys, os; sys.stdout.write(sys.stdin.read().replace(os.getcwd(), "...."))'