diff options
author | Justus Winter <justus@g10code.com> | 2016-12-06 15:21:30 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-12-06 15:25:55 +0100 |
commit | 5b5d881f47c82f320abf440c20b7a1bac078a987 (patch) | |
tree | 7e5252d2696113d411c235d1c5fe8759085ec4ae /tests/openpgp/verify.scm | |
parent | tests: Remove debugging display. (diff) | |
download | gnupg2-5b5d881f47c82f320abf440c20b7a1bac078a987.tar.xz gnupg2-5b5d881f47c82f320abf440c20b7a1bac078a987.zip |
tests: Rename 'error' to 'fail'.
* tests/gpgscm/tests.scm (error): Rename to 'fail'. 'error' is a
primitive function (an opcode) of the TinySCHEME vm, and 'error' is
also defined by R6RS. Better avoid redefining that. Fix all call
sites.
* tests/openpgp/4gb-packet.scm: Adapt.
* tests/openpgp/decrypt-multifile.scm: Likewise.
* tests/openpgp/ecc.scm: Likewise.
* tests/openpgp/export.scm: Likewise.
* tests/openpgp/gpgtar.scm: Likewise.
* tests/openpgp/gpgv-forged-keyring.scm: Likewise.
* tests/openpgp/import.scm: Likewise.
* tests/openpgp/issue2015.scm: Likewise.
* tests/openpgp/issue2346.scm: Likewise.
* tests/openpgp/issue2419.scm: Likewise.
* tests/openpgp/key-selection.scm: Likewise.
* tests/openpgp/mds.scm: Likewise.
* tests/openpgp/multisig.scm: Likewise.
* tests/openpgp/setup.scm: Likewise.
* tests/openpgp/signencrypt.scm: Likewise.
* tests/openpgp/ssh-import.scm: Likewise.
* tests/openpgp/tofu.scm: Likewise.
* tests/openpgp/verify.scm: Likewise.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests/openpgp/verify.scm')
-rwxr-xr-x | tests/openpgp/verify.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/openpgp/verify.scm b/tests/openpgp/verify.scm index 2c2c14a7f..a398a1483 100755 --- a/tests/openpgp/verify.scm +++ b/tests/openpgp/verify.scm @@ -33,7 +33,7 @@ (display (make-string 64 (integer->char (string->number char))) port))) (if (= 0 (call `(,@GPG --verify ,x data-500))) - (error "no error code from verify")))) + (fail "no error code from verify")))) '("#x2d" "#xca")) ;; A plain signed message created using @@ -324,7 +324,7 @@ GisM (pipe:defer (lambda (sink) (display armored-file (fdopen sink "w")))) (pipe:spawn `(,@GPG --verify))) - (error "verification succeeded but should not"))) + (fail "verification succeeded but should not"))) '(msg_olsols_asc_multiple msg_clsclss_asc_multiple)) (for-each-p @@ -334,7 +334,7 @@ GisM (pipe:do (pipe:echo (eval armored-file (current-environment))) (pipe:spawn `(,@GPG --verify))) - (error "verification succeeded but should not"))) + (fail "verification succeeded but should not"))) '(bad_ls_asc bad_fols_asc bad_olsf_asc bad_ools_asc)) |