##// END OF EJS Templates
test-init: enable for Windows...
Adrian Buehlmann -
r16915:ccebe526 default
parent child Browse files
Show More
@@ -1,5 +1,3 b''
1 $ "$TESTDIR/hghave" no-windows || exit 80
2
3 This test tries to exercise the ssh functionality with a dummy script
1 This test tries to exercise the ssh functionality with a dummy script
4
2
5 $ checknewrepo()
3 $ checknewrepo()
@@ -124,7 +122,7 b' comparing repositories'
124
122
125 check names for repositories (clashes with URL schemes, special chars)
123 check names for repositories (clashes with URL schemes, special chars)
126
124
127 $ for i in bundle file hg http https old-http ssh static-http " " "with space"; do
125 $ for i in bundle file hg http https old-http ssh static-http "with space"; do
128 > printf "hg init \"$i\"... "
126 > printf "hg init \"$i\"... "
129 > hg init "$i"
127 > hg init "$i"
130 > test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed"
128 > test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed"
@@ -137,8 +135,13 b' check names for repositories (clashes wi'
137 hg init "old-http"... ok
135 hg init "old-http"... ok
138 hg init "ssh"... ok
136 hg init "ssh"... ok
139 hg init "static-http"... ok
137 hg init "static-http"... ok
140 hg init " "... ok
141 hg init "with space"... ok
138 hg init "with space"... ok
139 #if no-windows
140 /* " " is not a valid name for a directory on Windows */
141 $ hg init " "
142 $ test -d " "
143 $ test -d " /.hg"
144 #endif
142
145
143 creating 'local/sub/repo'
146 creating 'local/sub/repo'
144
147
General Comments 0
You need to be logged in to leave comments. Login now