diff tests/test-ssh @ 3274:7ae37d99d47e

ssh: make the error message more clear, add a testcase
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 06 Oct 2006 16:24:14 +0200
parents 25857e00af8e
children 975c2469c316
line wrap: on
line diff
--- a/tests/test-ssh
+++ b/tests/test-ssh
@@ -36,6 +36,9 @@ echo 'changegroup = echo changegroup in 
 
 cd ..
 
+echo "# repo not found error"
+hg clone -e ./dummyssh ssh://user@dummy/nonexistent local
+
 echo "# clone remote via stream"
 hg clone -e ./dummyssh --uncompressed ssh://user@dummy/remote local-stream 2>&1 | \
   sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/'