test-add: enable for Windows
authorAdrian Buehlmann <adrian@cadifra.com>
Tue, 05 Jun 2012 22:46:14 +0200
changeset 16875 ee9bd7ef0a0e
parent 16874 8017ac7a0e8f
child 16881 2255950e1f76
test-add: enable for Windows
tests/test-add.t
--- a/tests/test-add.t	Tue Jun 05 23:13:45 2012 +0200
+++ b/tests/test-add.t	Tue Jun 05 22:46:14 2012 +0200
@@ -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