Subject: Re: bug#20119: 25.0.50; tramp-test30-special-characters hangs on Cygwin

From: Ken Brown <[email-masked]>
Date: Mon, 16 Mar 2015 12:37:14 -0400

On 3/16/2015 12:21 PM, Ken Brown wrote:
> This is another long-standing problem, but there's an easy fix, which
> I'll send in a second message.

The patch is attached.  I can't actually test it on the current HEAD, 
because Bug#20117 causes the test to abort immediately.  But I tested an 
equivalent patch on revision 5d9b1e100.

Ken

From 87a5498e9224695b391c89c949314314db123521 Mon Sep 17 00:00:00 2001
From: Ken Brown <[email-masked]>
Date: Mon, 16 Mar 2015 12:25:42 -0400
Subject: [PATCH] Don't test "\t" in file names on Cygwin.

Fixes: debbugs:20119

* test/automated/tramp-tests.el (tramp--test-special-characters): Don't
test "\t" in file names on Cygwin.
---
 test/ChangeLog                | 5 +++++
 test/automated/tramp-tests.el | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/test/ChangeLog b/test/ChangeLog
index 6a474e1..a7d1dfd 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-16  Ken Brown  <[email-masked]>
+
+	* automated/tramp-tests.el (tramp--test-special-characters): Don't
+	test "\t" in file names on Cygwin.  (Bug#20119)
+
 2015-03-10  Jackson Ray Hamilton  <[email-masked]>
 
 	* indent/js-indent-init-dynamic.js: Fix spelling error.
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index 020f31f..25b11ff 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -1626,7 +1626,7 @@ This requires restrictions of file name syntax."
   (tramp--test-check-files
    (if (tramp--test-smb-or-windows-nt-p)
        "foo bar baz"
-     (if (tramp--test-adb-p)
+     (if (or (tramp--test-adb-p) (eq system-type 'cygwin))
 	 " foo bar baz "
        " foo\tbar baz\t"))
    "$foo$bar$$baz$"
-- 
2.1.4