summaryrefslogtreecommitdiff
path: root/test/src/callproc-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-04-15 19:11:16 +0300
committerEli Zaretskii <eliz@gnu.org>2019-04-15 19:11:16 +0300
commit74412e7dcb10909ffebb27db7d6eaffe96599810 (patch)
tree8a1ce0bb5536460996978cc39ac626a2de99e8a3 /test/src/callproc-tests.el
parent3ec22997a208b8260c2a0e7a61888d7c0db4e4fd (diff)
downloademacs-74412e7dcb10909ffebb27db7d6eaffe96599810.tar.gz
Minor change in a comment
* test/src/callproc-tests.el (call-process-w32-debug-spawn-error): Minor copyedits of the commentary.
Diffstat (limited to 'test/src/callproc-tests.el')
-rw-r--r--test/src/callproc-tests.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/src/callproc-tests.el b/test/src/callproc-tests.el
index f351b6e2148..1cad8360dea 100644
--- a/test/src/callproc-tests.el
+++ b/test/src/callproc-tests.el
@@ -51,11 +51,12 @@
(setq internal-when-entered-debugger -1))))
(should (eq :got-error ;; NOTE: `should-error' would inhibit debugger.
(condition-case-unless-debug ()
- ;; On Windows, "nul.FOO" act like an always-empty
- ;; file for any FOO, in any directory. So this
- ;; passes Emacs' test for the file's existence,
- ;; and ensures we hit an error in the w32 process
- ;; spawn code.
+ ;; On MS-Windows, "nul.FOO" resolves to the null
+ ;; device, and thus acts like an always-empty
+ ;; file, for any FOO, in any directory. So
+ ;; c:/null.exe passes Emacs' test for the file's
+ ;; existence, and ensures we hit an error in the
+ ;; w32 process spawn code.
(call-process "c:/nul.exe")
(error :got-error))))
(should have-called-debugger)))