aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2018-01-30 08:11:32 -0500
committerNoam Postavsky2018-01-30 19:02:47 -0500
commit93ed67c11fafd3f3b5fb1d6b160a79aa6d2d18ed (patch)
treef07a22332fa0c4035a853a03a44ad8f476759fe2
parentab6f05a4bfb91f65ded7db9f46aee21888b3f8cf (diff)
downloademacs-scratch/nonspecial-handlers.tar.gz
emacs-scratch/nonspecial-handlers.zip
; Fix kill-process race condition in testscratch/nonspecial-handlers
* test/lisp/files-tests.el (files-tests-file-name-non-special-start-file-process): Just disable the query-on-exit-flag, rather than trying to get the process killed before the end of test.
-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."
703 (accept-process-output proc) 703 (accept-process-output proc)
704 (goto-char (point-min)) 704 (goto-char (point-min))
705 (should (search-forward emacs-version nil t)) 705 (should (search-forward emacs-version nil t))
706 (kill-process proc) 706 (set-process-query-on-exit-flag proc nil))))))
707 (accept-process-output proc ))))))
708 707
709(ert-deftest files-tests-file-name-non-special-substitute-in-file-name () 708(ert-deftest files-tests-file-name-non-special-substitute-in-file-name ()
710 (files-tests--with-temp-non-special (tmpfile nospecial) 709 (files-tests--with-temp-non-special (tmpfile nospecial)