Avoid test failures on w32 systems
authorNoam Postavsky <npostavs@gmail.com>
Fri, 26 Jan 2018 21:42:23 +0000 (16:42 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 26 Jan 2018 21:42:23 +0000 (16:42 -0500)
commit0c3c28f4a0fcb85afb4e52ff072fc12a4af2e970
tree4eb65f9ab14fe6967947cc900ad2651d1ecbd384
parenta1f600f51e37fbb44bc524440ee5702590dd7164
Avoid test failures on w32 systems

* test/lisp/files-tests.el
(files-file-name-non-special-dired-compress-handler): New skipped
test, extracted from files-file-name-non-special-handlers.
* test/lisp/files-tests.el (files-file-name-non-special-handlers):
Don't pass nil SWITCHES to `insert-directory', the w32 implementation
doesn't handle it (this is likely a bug, but not the focus of this
test).  Put "$FOO" in the string passed to substitute-in-file-name so
that we actually test "/:" quoting prevents substitution.
test/lisp/files-tests.el