summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2020-01-19 22:01:17 +0100
committerTino Calancha <tino.calancha@gmail.com>2020-01-19 22:01:17 +0100
commit3543b9fad9c48556e298085c49bcad38e67d4d83 (patch)
tree06d079ecca8a92bcdcc19c87641a81b24eec4915 /test
parent83f9fe44facb1e5aff00e46effcf12604fa3e601 (diff)
downloademacs-3543b9fad9c48556e298085c49bcad38e67d4d83.tar.gz
; Fix a test (Bug#39067)
* test/lisp/simple-tests.el (with-shell-command-dont-erase-buffer): Use flag -Q to prevent from loading site-lisp files.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/simple-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el
index 0b12cee5855..8ef3c885b96 100644
--- a/test/lisp/simple-tests.el
+++ b/test/lisp/simple-tests.el
@@ -723,7 +723,7 @@ See Bug#21722."
`(let* ((,caller-buf (generate-new-buffer "caller-buf"))
(,output-buf (if ,output-buffer-is-current ,caller-buf
(generate-new-buffer "output-buf")))
- (,command (format "%s --batch --eval '(princ \"%s\")'" invocation-name ,str))
+ (,command (format "%s -Q --batch --eval '(princ \"%s\")'" invocation-name ,str))
(inhibit-message t))
(unwind-protect
;; Feature must work the same regardless how we specify the 2nd arg of `shell-command', ie,