From eec1142acdde9d10781c781e7890c2d26f7e6b2d Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 1 Dec 2023 16:29:37 +0100 Subject: [PATCH] * test/lisp/net/tramp-tests.el (tramp-test31-signal-process): Extend. --- test/lisp/net/tramp-tests.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 58b8530ca2b..d8932a28e4d 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -5684,6 +5684,12 @@ If UNSTABLE is non-nil, the test is tagged as `:unstable'." (delete-exited-processes t) kill-buffer-query-functions command proc) + ;; If PROCESS is a string, it must be a process name or a process + ;; number. Check error handling. + (should-error + (signal-process (md5 (current-time-string)) 0) + :type 'wrong-type-argument) + ;; The PROCESS argument of `signal-process' can be a string. Test ;; this as well. (dolist -- 2.39.2