[PATCH] test-init: enable for Windows
Adrian Buehlmann
adrian at cadifra.com
Sun Jun 10 15:31:36 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339360183 -7200
# Node ID 66632eaeb05f7560cd57ff77d0b05a82833e17c8
# Parent ad229181ddbed0ebd93bf48bb36a22e965d8a4a0
test-init: enable for Windows
Simply removing the testcase that tries to create a repo with the name " ".
diff --git a/tests/test-init.t b/tests/test-init.t
--- a/tests/test-init.t
+++ b/tests/test-init.t
@@ -1,5 +1,3 @@
- $ "$TESTDIR/hghave" no-windows || exit 80
-
This test tries to exercise the ssh functionality with a dummy script
$ checknewrepo()
@@ -124,7 +122,7 @@
check names for repositories (clashes with URL schemes, special chars)
- $ for i in bundle file hg http https old-http ssh static-http " " "with space"; do
+ $ for i in bundle file hg http https old-http ssh static-http "with space"; do
> printf "hg init \"$i\"... "
> hg init "$i"
> test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed"
@@ -137,7 +135,6 @@
hg init "old-http"... ok
hg init "ssh"... ok
hg init "static-http"... ok
- hg init " "... ok
hg init "with space"... ok
creating 'local/sub/repo'
More information about the Mercurial-devel
mailing list