aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKen Brown2015-03-16 12:25:42 -0400
committerKen Brown2015-03-16 16:19:46 -0400
commita961dcedeb7ae84c0ca6e8e1b94d3dd881a26b98 (patch)
tree286f6aa5c0e12e5a75d9018268a8a54bdb3ef995 /test
parent801eda8a2a00b3f28a69ffe51b05a649fffc5c58 (diff)
downloademacs-a961dcedeb7ae84c0ca6e8e1b94d3dd881a26b98.tar.gz
emacs-a961dcedeb7ae84c0ca6e8e1b94d3dd881a26b98.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/automated/tramp-tests.el9
2 files changed, 11 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 6a474e1d4e5..a7d1dfdceae 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
12015-03-16 Ken Brown <kbrown@cornell.edu>
2
3 * automated/tramp-tests.el (tramp--test-special-characters): Don't
4 test "\t" in file names on Cygwin. (Bug#20119)
5
12015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com> 62015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
2 7
3 * indent/js-indent-init-dynamic.js: Fix spelling error. 8 * indent/js-indent-init-dynamic.js: Fix spelling error.
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index 020f31f4e6f..9ba67430960 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -1621,12 +1621,15 @@ This requires restrictions of file name syntax."
1621 1621
1622(defun tramp--test-special-characters () 1622(defun tramp--test-special-characters ()
1623 "Perform the test in `tramp-test30-special-characters*'." 1623 "Perform the test in `tramp-test30-special-characters*'."
1624 ;; Newlines, slashes and backslashes in file names are not supported. 1624 ;; Newlines, slashes and backslashes in file names are not
1625 ;; So we don't test. 1625 ;; supported. So we don't test. And we don't test the tab
1626 ;; character on Windows or Cygwin, because the backslash is
1627 ;; interpreted as a path separator, preventing "\t" from being
1628 ;; expanded to <TAB>.
1626 (tramp--test-check-files 1629 (tramp--test-check-files
1627 (if (tramp--test-smb-or-windows-nt-p) 1630 (if (tramp--test-smb-or-windows-nt-p)
1628 "foo bar baz" 1631 "foo bar baz"
1629 (if (tramp--test-adb-p) 1632 (if (or (tramp--test-adb-p) (eq system-type 'cygwin))
1630 " foo bar baz " 1633 " foo bar baz "
1631 " foo\tbar baz\t")) 1634 " foo\tbar baz\t"))
1632 "$foo$bar$$baz$" 1635 "$foo$bar$$baz$"