(ert-deftest files-tests--file-name-non-special--subprocess ()
"Check that Bug#25949 is fixed."
(skip-unless (executable-find "true"))
- (should (eq (let ((default-directory "/:/")) (process-file "true")) 0))
- (should (processp (let ((default-directory "/:/"))
- (start-file-process "foo" nil "true"))))
- (should (eq (let ((default-directory "/:/")) (shell-command "true")) 0)))
+ (let ((defdir (if (memq system-type '(ms-dos windows-nt)) "/:c:/" "/:/")))
+ (should (eq (let ((default-directory defdir)) (process-file "true")) 0))
+ (should (processp (let ((default-directory defdir))
+ (start-file-process "foo" nil "true"))))
+ (should (eq (let ((default-directory defdir)) (shell-command "true")) 0))))
(defmacro files-tests--with-advice (symbol where function &rest body)
(declare (indent 3))