emacsclient-tests: don't load the site file

* test/lib-src/emacsclient-tests.el
(emacsclient-test-alternate-editor-allows-arguments)
(emacsclient-test-alternate-editor-allows-quotes): Invoke the
alternate editor with -Q to suppress site file loading.  (Bug#81676)
This commit is contained in:
Ulrich Müller 2026-08-22 09:51:05 +02:00
parent b4612c6f29
commit 442674babb

View file

@ -50,12 +50,13 @@
(ert-deftest emacsclient-test-alternate-editor-allows-arguments ()
(emacsclient-test-call-emacsclient
(concat (expand-file-name invocation-name invocation-directory) " --batch")))
(concat (expand-file-name invocation-name invocation-directory)
" --batch -Q")))
(ert-deftest emacsclient-test-alternate-editor-allows-quotes ()
(emacsclient-test-call-emacsclient
(concat "\"" (expand-file-name invocation-name invocation-directory)
"\"" " --batch")))
"\"" " --batch -Q")))
(provide 'emacsclient-tests)
;;; emacsclient-tests.el ends here