[PATCH] test-add: enable for Windows

Adrian Buehlmann adrian at cadifra.com
Tue Jun 5 15:53:00 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1338929174 -7200
# Node ID 305f9c5b7cbbcd9fb087904e77b55ff1e907e1a7
# Parent  fb8b61ce4f4461a7e544e0a627aed6a6c9bb5783
test-add: enable for Windows

diff --git a/tests/test-add.t b/tests/test-add.t
--- a/tests/test-add.t
+++ b/tests/test-add.t
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" no-windows || exit 80
-
   $ hg init a
   $ cd a
   $ echo a > a
@@ -35,6 +33,7 @@
   A a
   A b
 
+#if no-windows
   $ echo foo > con.xml
   $ hg --config ui.portablefilenames=jump add con.xml
   abort: ui.portablefilenames value is invalid ('jump')
@@ -69,6 +68,7 @@
   A b
   A con.xml
   A hello:world
+#endif
 
   $ hg ci -m 0 --traceback
 


More information about the Mercurial-devel mailing list