1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Add gpgsm server command GETINFO agent-check.

Fix tests.
This commit is contained in:
Werner Koch 2008-09-30 10:30:20 +00:00
parent 7d63aa42e5
commit 8381a43ca7
8 changed files with 48 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2008-09-29 Werner Koch <wk@g10code.com>
* Makefile.am (TESTS): Remove tests.
2008-02-19 Werner Koch <wk@g10code.com>
* Makefile.am: Always run pkits tests.

View file

@ -44,7 +44,13 @@ EXTRA_DIST = runtest inittests $(testscripts) \
samplekeys/cert_g10code_test1.pem \
samplekeys/cert_g10code_theo1.pem
TESTS = $(testscripts)
# We used to run $(testscripts) here but tehse asschk scripts ares not
# completely reliable in all enviromnets and thus we better disable
# them. The tests are anyway way to minimal. We will eventually
# write new tests based on gpg-connect-agent which has a full fledged
# script language and thus makes it far easier to write tests than to
# use the low--level asschk stuff.
TESTS =
CLEANFILES = inittests.stamp x y y z out err \
*.lock .\#lk*

View file

@ -1,3 +1,7 @@
2008-09-29 Werner Koch <wk@g10code.com>
* clearsig.test: Replace -sat by --clearsign.
2008-03-19 Werner Koch <wk@g10code.com>
* import.test, bug894-test.asc: New.

View file

@ -18,7 +18,7 @@
# it is clear text and not binary text.
# ======================================
for i in $plain_files plain-large ; do
echo "$usrpass1" | $GPG --passphrase-fd 0 -sat -o x --yes $i
echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes $i
$GPG --verify x
done
@ -29,7 +29,7 @@ done
if have_pubkey_algo "RSA"; then
for i in $plain_files plain-large ; do
$GPG -u $usrname3 --rfc1991 --digest-algo md5 -sat -o x --yes $i
$GPG -u $usrname3 --rfc1991 --digest-algo md5 --clearsign -o x --yes $i
$GPG --verify x
done
fi