aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/issue2941.scm
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-11-22 06:03:43 +0000
committerNIIBE Yutaka <[email protected]>2022-11-24 02:43:44 +0000
commit7ab2e4386ffe6e435129f84860e1d90779268197 (patch)
tree73d9533bc5e5dc5dd8da721aae854fe80d59841b /tests/openpgp/issue2941.scm
parentw32: Fix gnupg_tmpfile for possible failure. (diff)
downloadgnupg-7ab2e4386ffe6e435129f84860e1d90779268197.tar.gz
gnupg-7ab2e4386ffe6e435129f84860e1d90779268197.zip
tests: Use 233 for invalid value of FD.
* tests/openpgp/issue2941.scm: Use 233. -- Forward port from 2.2 branch of: 43722438a826e1a162723a23452018ccf1b640ec On Windows machine (emulated by Wine), 23 may be valid value for handle. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/openpgp/issue2941.scm')
-rwxr-xr-xtests/openpgp/issue2941.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/issue2941.scm b/tests/openpgp/issue2941.scm
index 8f625ebe3..306df6cb5 100755
--- a/tests/openpgp/issue2941.scm
+++ b/tests/openpgp/issue2941.scm
@@ -29,6 +29,6 @@
(for-each-p
"Checking invocation with invalid file descriptors (issue2941)."
(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"
"override-session-key-fd" "passphrase-fd" "command-fd"))