git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bc/connect-plink] t5601-clone: remove broken and pointless check for plink.exe
@ 2015-08-11 20:51 Johannes Sixt
  2015-08-11 22:50 ` Eric Sunshine
  2015-08-12 11:07 ` Johannes Schindelin
  0 siblings, 2 replies; 12+ messages in thread
From: Johannes Sixt @ 2015-08-11 20:51 UTC (permalink / raw)
  To: Git Mailing List, msysGit

Invoking plink requires special treatment, and we have support and even
test cases for the commands 'plink' and 'tortoiseplink'. We also support
.exe variants for these two and there is a test for 'plink.exe'.

On Windows, however, where support for plink.exe would be relevant, the
test case fails because it is not possible to execute a file with a .exe
extension that is actually not a binary executable---it is a shell
script in our test. We have to disable the test case on Windows.

Considering, that 'plink.exe' is irrelevant on non-Windows, let's just
remove the test and assume that the code "just works".

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
 t/t5601-clone.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
index 9b34f3c..df69bf6 100755
--- a/t/t5601-clone.sh
+++ b/t/t5601-clone.sh
@@ -353,12 +353,6 @@ test_expect_success 'plink is treated specially (as putty)' '
 	expect_ssh "-P 123" myhost src
 '
 
-test_expect_success 'plink.exe is treated specially (as putty)' '
-	copy_ssh_wrapper_as "$TRASH_DIRECTORY/plink.exe" &&
-	git clone "[myhost:123]:src" ssh-bracket-clone-plink-1 &&
-	expect_ssh "-P 123" myhost src
-'
-
 test_expect_success 'tortoiseplink is like putty, with extra arguments' '
 	copy_ssh_wrapper_as "$TRASH_DIRECTORY/tortoiseplink" &&
 	git clone "[myhost:123]:src" ssh-bracket-clone-plink-2 &&
-- 
2.3.2.245.gb5bf9d3

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-08-13 18:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11 20:51 [PATCH bc/connect-plink] t5601-clone: remove broken and pointless check for plink.exe Johannes Sixt
2015-08-11 22:50 ` Eric Sunshine
2015-08-11 22:53   ` Junio C Hamano
2015-08-11 22:56   ` [msysGit] " Junio C Hamano
2015-08-11 23:26     ` Eric Sunshine
2015-08-12 11:07 ` Johannes Schindelin
2015-08-12 11:58   ` [msysGit] " Erik Faye-Lund
2015-08-12 18:31     ` Johannes Sixt
2015-08-13  7:30       ` Johannes Schindelin
2015-08-13 18:07         ` [msysGit] " Johannes Sixt
2015-08-13  8:37     ` Johannes Schindelin
2015-08-13  8:56       ` [msysGit] " Erik Faye-Lund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).