[PATCH] test-addremove: remove bits about con.xml

Adrian Buehlmann adrian at cadifra.com
Tue Jun 5 16:14:59 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1338930825 -7200
# Node ID 89db9d28cc1ca688f33cc4de5735ffd2b063c1f2
# Parent  305f9c5b7cbbcd9fb087904e77b55ff1e907e1a7
test-addremove: remove bits about con.xml

Windows reserved filename warnings are already enough tested in test-add.t.
This enables the test for Windows.

diff --git a/tests/test-addremove.t b/tests/test-addremove.t
--- a/tests/test-addremove.t
+++ b/tests/test-addremove.t
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" no-windows || exit 80
-
   $ hg init rep
   $ cd rep
   $ mkdir dir
@@ -12,17 +10,14 @@
   foo
   committed changeset 0:6f7f953567a2
   $ cd dir/
-  $ touch ../foo_2 bar_2 con.xml
+  $ touch ../foo_2 bar_2
   $ hg -v addremove
   adding dir/bar_2
-  adding dir/con.xml
   adding foo_2
-  warning: filename contains 'con', which is reserved on Windows: 'dir/con.xml'
   $ hg -v commit -m "add 2"
   dir/bar_2
-  dir/con.xml
   foo_2
-  committed changeset 1:6bb597da00f1
+  committed changeset 1:e65414bf35c5
 
   $ cd ..
   $ hg init sim


More information about the Mercurial-devel mailing list