1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

tests: Use 233 for invalid value of FD.

* tests/openpgp/issue2941.scm: Use 233.

--

On Windows machine (emulated by Wine), 23 may be valid value for
handle.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2022-11-22 15:03:43 +09:00 committed by Werner Koch
parent 1e62c4b7c2
commit b94fe0e007
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -29,6 +29,6 @@
(for-each-p (for-each-p
"Checking invocation with invalid file descriptors (issue2941)." "Checking invocation with invalid file descriptors (issue2941)."
(lambda (option) (lambda (option)
(check-failure `(,(string-append "--" option "=23") --sign gpg.conf))) (check-failure `(,(string-append "--" option "=233") --sign gpg.conf)))
'("status-fd" "attribute-fd" "logger-fd" '("status-fd" "attribute-fd" "logger-fd"
"override-session-key-fd" "passphrase-fd" "command-fd")) "override-session-key-fd" "passphrase-fd" "command-fd"))