Skip to content
Snippets Groups Projects
Commit 2dfc22620a54 authored by Matt Harbison's avatar Matt Harbison
Browse files

tests: conditionalize out tests that msys is mangling

This was exposed by ac0a87160012.  The paths for convert and ssh respectively
are being turned into:

   $TESTTMP\bzr+ssh:\foobar@selenic.com\baz\.hg

   'C:\\C:\\Users\\Matt\\AppData\\Local\\Temp\\hgtests.8awa9x\\child1\\test-ssh-bundle1.t-sshv2\\nonexistent\\.hg

The errno value raised is 123, and the message is

   The filename, directory name, or volume label syntax is incorrect
parent 3fa9058f4f79
No related branches found
No related tags found
No related merge requests found
......@@ -533,6 +533,7 @@
test bogus URL
#if no-msys
$ hg convert -q bzr+ssh://foobar@selenic.com/baz baz
abort: bzr+ssh://foobar@selenic.com/baz: missing or unsupported repository
[255]
......@@ -536,6 +537,7 @@
$ hg convert -q bzr+ssh://foobar@selenic.com/baz baz
abort: bzr+ssh://foobar@selenic.com/baz: missing or unsupported repository
[255]
#endif
test revset converted() lookup
......
......@@ -59,7 +59,8 @@
non-existent absolute path
#if no-msys
$ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local
remote: abort: repository /$TESTTMP/nonexistent not found!
abort: no suitable response from remote hg!
[255]
......@@ -62,7 +63,8 @@
$ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local
remote: abort: repository /$TESTTMP/nonexistent not found!
abort: no suitable response from remote hg!
[255]
#endif
clone remote via stream
......@@ -502,7 +504,7 @@
$ cat dummylog
Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
Got arguments 1:user@dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio
Got arguments 1:user@dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio (no-msys !)
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio (no-reposimplestore !)
Got arguments 1:user@dummy 2:hg -R remote serve --stdio (no-reposimplestore !)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment