Show More
@@ -221,6 +221,9 b' def has_serve():' | |||||
221 | def has_tic(): |
|
221 | def has_tic(): | |
222 | return matchoutput('test -x "`which tic`"', '') |
|
222 | return matchoutput('test -x "`which tic`"', '') | |
223 |
|
223 | |||
|
224 | def has_msys(): | |||
|
225 | return os.getenv('MSYSTEM') | |||
|
226 | ||||
224 | checks = { |
|
227 | checks = { | |
225 | "baz": (has_baz, "GNU Arch baz client"), |
|
228 | "baz": (has_baz, "GNU Arch baz client"), | |
226 | "bzr": (has_bzr, "Canonical's Bazaar client"), |
|
229 | "bzr": (has_bzr, "Canonical's Bazaar client"), | |
@@ -255,6 +258,7 b' checks = {' | |||||
255 | "tla": (has_tla, "GNU Arch tla client"), |
|
258 | "tla": (has_tla, "GNU Arch tla client"), | |
256 | "unix-permissions": (has_unix_permissions, "unix-style permissions"), |
|
259 | "unix-permissions": (has_unix_permissions, "unix-style permissions"), | |
257 | "windows": (has_windows, "Windows"), |
|
260 | "windows": (has_windows, "Windows"), | |
|
261 | "msys": (has_msys, "Windows with MSYS"), | |||
258 | } |
|
262 | } | |
259 |
|
263 | |||
260 | def list_features(): |
|
264 | def list_features(): |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths | |||
|
2 | ||||
1 | This is a test of the wire protocol over CGI-based hgweb. |
|
3 | This is a test of the wire protocol over CGI-based hgweb. | |
2 | initialize repository |
|
4 | initialize repository | |
3 |
|
5 |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths | |||
|
2 | ||||
1 | This tests if CGI files from after d0db3462d568 but |
|
3 | This tests if CGI files from after d0db3462d568 but | |
2 | before d74fc8dec2b4 still work. |
|
4 | before d74fc8dec2b4 still work. | |
3 |
|
5 |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths | |||
|
2 | ||||
1 | This is a rudimentary test of the CGI files as of d74fc8dec2b4. |
|
3 | This is a rudimentary test of the CGI files as of d74fc8dec2b4. | |
2 |
|
4 | |||
3 | $ hg init test |
|
5 | $ hg init test |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths | |||
|
2 | ||||
1 | This tests if CGI files from before d0db3462d568 still work. |
|
3 | This tests if CGI files from before d0db3462d568 still work. | |
2 |
|
4 | |||
3 | $ hg init test |
|
5 | $ hg init test |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate /foo/bar as if it was a real file path | |||
|
2 | ||||
1 |
$ |
|
3 | $ hg init a | |
2 | $ hg clone a b |
|
4 | $ hg clone a b | |
3 | updating to branch default |
|
5 | updating to branch default |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths | |||
|
2 | ||||
1 | This is a test of the push wire protocol over CGI-based hgweb. |
|
3 | This is a test of the push wire protocol over CGI-based hgweb. | |
2 |
|
4 | |||
3 | initialize repository |
|
5 | initialize repository |
General Comments 0
You need to be logged in to leave comments.
Login now