t5601: remove clear_ssh, refactor setup_ssh_wrapper
commit710eb3e22cfe5fb84f41a3ef1d3a91b5cf5d3463
authorTorsten Bögershausen <tboegi@web.de>
Thu, 28 Nov 2013 19:53:47 +0000 (28 20:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Dec 2013 23:33:20 +0000 (4 15:33 -0800)
tree8c8abefdc95e907e7edb8c37909c217db2f6c773
parentaa2706463fdeb51d6f9d0e267113b251888cf7f5
t5601: remove clear_ssh, refactor setup_ssh_wrapper

Commit 8d3d28f5 added test cases for URLs which should be ssh.
Remove the function clear_ssh, use test_when_finished to clean up.

Introduce the function setup_ssh_wrapper, which could be factored
out together with expect_ssh.

Tighten one test and use "foo:bar" instead of "./foo:bar",

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5601-clone.sh