aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2019-04-17 10:24:12 -0400
committerNoam Postavsky2019-04-17 10:27:02 -0400
commit63a190a640f620f49b42e70e9e68f88e61c158b3 (patch)
treea5e1a84babce20c1ccfc92e5a483946f303c1e59
parent314c2aa7c4ad813522f6a1bf2e052981dc8a80c2 (diff)
downloademacs-63a190a640f620f49b42e70e9e68f88e61c158b3.tar.gz
emacs-63a190a640f620f49b42e70e9e68f88e61c158b3.zip
; 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.
-rw-r--r--test/lisp/files-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index 53e6e9064a1..ae8ea41a797 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -1221,7 +1221,7 @@ See <https://debbugs.gnu.org/19657#20>."
1221(ert-deftest files-tests-executable-find () 1221(ert-deftest files-tests-executable-find ()
1222 "Test that `executable-find' works also with a relative or remote PATH. 1222 "Test that `executable-find' works also with a relative or remote PATH.
1223See <https://debbugs.gnu.org/35241>." 1223See <https://debbugs.gnu.org/35241>."
1224 (let ((tmpfile (make-temp-file "files-test"))) 1224 (let ((tmpfile (make-temp-file "files-test" nil (car exec-suffixes))))
1225 (unwind-protect 1225 (unwind-protect
1226 (progn 1226 (progn
1227 (set-file-modes tmpfile #o777) 1227 (set-file-modes tmpfile #o777)