Commit a961dced authored by Ken Brown's avatar Ken Brown
Browse files

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.
parent 801eda8a
2015-03-16 Ken Brown <kbrown@cornell.edu>
* 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 <jackson@jacksonrayhamilton.com>
* indent/js-indent-init-dynamic.js: Fix spelling error.
......
......@@ -1621,12 +1621,15 @@ This requires restrictions of file name syntax."
(defun tramp--test-special-characters ()
"Perform the test in `tramp-test30-special-characters*'."
;; Newlines, slashes and backslashes in file names are not supported.
;; So we don't test.
;; Newlines, slashes and backslashes in file names are not
;; supported. So we don't test. And we don't test the tab
;; character on Windows or Cygwin, because the backslash is
;; interpreted as a path separator, preventing "\t" from being
;; expanded to <TAB>.
(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$"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment