[PATCH] test-add: enable for Windows using $$hghave
Adrian Buehlmann
adrian at cadifra.com
Sun Jun 3 05:15:21 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1338718354 -7200
# Node ID 11a621b5a3695f22ef5cf3f866d1853d09bd13bf
# Parent ab77f552bd4507f85bcab70d0d74b22c3558cfd2
test-add: enable for Windows using $$hghave
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,8 @@
A a
A b
+ $$hghave no-windows
+
$ echo foo > con.xml
$ hg --config ui.portablefilenames=jump add con.xml
abort: ui.portablefilenames value is invalid ('jump')
@@ -70,6 +70,8 @@
A con.xml
A hello:world
+ $$hghad
+
$ hg ci -m 0 --traceback
should fail
More information about the Mercurial-devel
mailing list