Show More
@@ -1,5 +1,3 b'' | |||
|
1 | $ "$TESTDIR/hghave" no-windows || exit 80 | |
|
2 | ||
|
3 | 1 | This test tries to exercise the ssh functionality with a dummy script |
|
4 | 2 | |
|
5 | 3 | $ checknewrepo() |
@@ -124,7 +122,7 b' comparing repositories' | |||
|
124 | 122 | |
|
125 | 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 " |
|
|
125 | $ for i in bundle file hg http https old-http ssh static-http "with space"; do | |
|
128 | 126 | > printf "hg init \"$i\"... " |
|
129 | 127 | > hg init "$i" |
|
130 | 128 | > test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed" |
@@ -137,8 +135,13 b' check names for repositories (clashes wi' | |||
|
137 | 135 | hg init "old-http"... ok |
|
138 | 136 | hg init "ssh"... ok |
|
139 | 137 | hg init "static-http"... ok |
|
140 | hg init " "... ok | |
|
141 | 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 | 146 | creating 'local/sub/repo' |
|
144 | 147 |
General Comments 0
You need to be logged in to leave comments.
Login now