summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/files-tests.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index 82a171664f7..3e52db2a5ba 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -703,8 +703,7 @@ be invoked with the right arguments."
(accept-process-output proc)
(goto-char (point-min))
(should (search-forward emacs-version nil t))
- (kill-process proc)
- (accept-process-output proc ))))))
+ (set-process-query-on-exit-flag proc nil))))))
(ert-deftest files-tests-file-name-non-special-substitute-in-file-name ()
(files-tests--with-temp-non-special (tmpfile nospecial)