mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; Fix files-tests on MS-Windows
* test/lisp/files-tests.el (files-tests-file-name-non-special--temp-file-prefixes): Don't use a file name with '*' on MS-Windows.
This commit is contained in:
parent
901d4fe32a
commit
6f15481be5
1 changed files with 4 additions and 1 deletions
|
|
@ -398,7 +398,10 @@ be $HOME."
|
|||
(file-name-unquote temporary-file-directory))))))
|
||||
|
||||
(defconst files-tests-file-name-non-special--temp-file-prefixes
|
||||
'("foo" "$foo" "~foo" "foo*bar")
|
||||
(append '("foo" "$foo" "~foo")
|
||||
;; No amount of quoting will allow creation of a file name
|
||||
;; with an embedded '*' on MS-Windows and MS-DOS.
|
||||
(if (not (memq system-type '(windows-nt ms-dos))) '("foo*bar")))
|
||||
"Prefixes to be tested for `file-name-non-special' tests.")
|
||||
|
||||
(ert-deftest files-tests-file-name-non-special--subprocess ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue