diff options
Diffstat (limited to 'test/lisp')
-rw-r--r-- | test/lisp/net/tramp-tests.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 462539a7c17..4cacfa2f712 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -4209,6 +4209,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." (should-not (zerop (process-file "false"))) (should-not (zerop (process-file "binary-does-not-exist"))) (should (= 42 (process-file "sh" nil nil nil "-c" "exit 42"))) + ;; Return string in case the process is interrupted. + (should (stringp (process-file "sh" nil nil nil "-c" "kill -2 $$"))) (with-temp-buffer (write-region "foo" nil tmp-name) (should (file-exists-p tmp-name)) |