[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 441e875: * test/lisp/net/dbus-tests.el (dbus-test01-basic-types):
From: |
Michael Albinus |
Subject: |
master 441e875: * test/lisp/net/dbus-tests.el (dbus-test01-basic-types): Adapt test. |
Date: |
Wed, 23 Sep 2020 13:57:11 -0400 (EDT) |
branch: master
commit 441e8750198fc68e4b20281c3ee0d76fd8328839
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
* test/lisp/net/dbus-tests.el (dbus-test01-basic-types): Adapt test.
---
test/lisp/net/dbus-tests.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/test/lisp/net/dbus-tests.el b/test/lisp/net/dbus-tests.el
index 62ed3f2..2f20fcc 100644
--- a/test/lisp/net/dbus-tests.el
+++ b/test/lisp/net/dbus-tests.el
@@ -265,12 +265,13 @@
(dbus-check-arguments :session dbus--test-service :double "string")
:type 'wrong-type-argument)
- ;; `:unix-fd'. Value range 0 .. 9.
+ ;; `:unix-fd'. UNIX file descriptors are transfered out-of-band.
+ ;; We do not support this, and so we cannot do much testing here for
+ ;; `:unix-fd' being an argument (which is an index to the file
+ ;; descriptor in the array of file descriptors that accompany the
+ ;; D-Bus message). Mainly testing, that values out of `:uint32'
+ ;; type range fail.
(should (dbus-check-arguments :session dbus--test-service :unix-fd 0))
- (should (dbus-check-arguments :session dbus--test-service :unix-fd 9))
- (should-error
- (dbus-check-arguments :session dbus--test-service :unix-fd 10)
- :type 'dbus-error)
(should-error
(dbus-check-arguments :session dbus--test-service :unix-fd -1)
:type 'args-out-of-range)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 441e875: * test/lisp/net/dbus-tests.el (dbus-test01-basic-types): Adapt test.,
Michael Albinus <=