Commit 63a190a6 authored by Noam Postavsky's avatar Noam Postavsky

; Fix files-tests-executable-find on w32 (Bug#35241)

* test/lisp/files-tests.el (files-tests-executable-find): Make the
tmpfile end with one of exec-suffixes, so that it will be executable
on w32.
parent 314c2aa7
Pipeline #1327 failed with stage
in 51 minutes and 13 seconds
......@@ -1221,7 +1221,7 @@ See <>."
(ert-deftest files-tests-executable-find ()
"Test that `executable-find' works also with a relative or remote PATH.
See <>."
(let ((tmpfile (make-temp-file "files-test")))
(let ((tmpfile (make-temp-file "files-test" nil (car exec-suffixes))))
(set-file-modes tmpfile #o777)
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