Skip to content

Commit 891f7de

Browse files
committed
* test/lisp/simple-tests.el: Full path to Emacs binary (bug#39067).
1 parent 92f30d6 commit 891f7de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/lisp/simple-tests.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,9 @@ See Bug#21722."
723723
`(let* ((,caller-buf (generate-new-buffer "caller-buf"))
724724
(,output-buf (if ,output-buffer-is-current ,caller-buf
725725
(generate-new-buffer "output-buf")))
726-
(,command (format "%s -Q --batch --eval '(princ \"%s\")'" invocation-name ,str))
726+
(emacs (expand-file-name invocation-name invocation-directory))
727+
(,command (format "%s -Q --batch --eval '(princ \"%s\")'"
728+
emacs ,str))
727729
(inhibit-message t))
728730
(unwind-protect
729731
;; Feature must work the same regardless how we specify the 2nd arg of `shell-command', ie,

0 commit comments

Comments
 (0)