mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Avoid relying on implicit gpg commands.
* tests/openpgp/armdetach.scm: Always use an explicit command instead of relying on gpg to guess what we want. * tests/openpgp/armdetachm.scm: Likewise. * tests/openpgp/armencrypt.scm: Likewise. * tests/openpgp/armencryptp.scm: Likewise. * tests/openpgp/armor.scm: Likewise. * tests/openpgp/armsignencrypt.scm: Likewise. * tests/openpgp/armsigs.scm: Likewise. * tests/openpgp/clearsig.scm: Likewise. * tests/openpgp/compression.scm: Likewise. * tests/openpgp/conventional-mdc.scm: Likewise. * tests/openpgp/conventional.scm: Likewise. * tests/openpgp/decrypt-dsa.scm: Likewise. * tests/openpgp/decrypt.scm: Likewise. * tests/openpgp/detach.scm: Likewise. * tests/openpgp/detachm.scm: Likewise. * tests/openpgp/ecc.scm: Likewise. * tests/openpgp/encrypt-dsa.scm: Likewise. * tests/openpgp/encrypt-multifile.scm: Likewise. * tests/openpgp/encrypt.scm: Likewise. * tests/openpgp/encryptp.scm: Likewise. * tests/openpgp/seat.scm: Likewise. * tests/openpgp/signencrypt-dsa.scm: Likewise. * tests/openpgp/signencrypt.scm: Likewise. * tests/openpgp/sigs-dsa.scm: Likewise. * tests/openpgp/sigs.scm: Likewise. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
1b28d9dbe0
commit
cde626e7f7
25 changed files with 38 additions and 39 deletions
|
@ -26,14 +26,14 @@
|
|||
(tr:do
|
||||
(tr:open source)
|
||||
(tr:gpg usrpass1 `(--yes --passphrase-fd "0" -se --recipient ,usrname2))
|
||||
(tr:gpg "" '(--yes))
|
||||
(tr:gpg "" '(--yes --decrypt))
|
||||
(tr:assert-identity source)))
|
||||
(append plain-files data-files))
|
||||
|
||||
(info "Checking bug 537: MDC problem with old style compressed packets.")
|
||||
(lettmp (tmp)
|
||||
(call-popen `(,@GPG --yes --passphrase-fd "0"
|
||||
--output ,tmp ,(in-srcdir "bug537-test.data.asc"))
|
||||
--output ,tmp --decrypt ,(in-srcdir "bug537-test.data.asc"))
|
||||
usrpass1)
|
||||
(if (not (string=? "4336AE2A528FAE091E73E59E325B588FEE795F9B"
|
||||
(cadar (gpg-hash-string `(--print-md SHA1 ,tmp) ""))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue