[svn] GnuPG - r4930 - in trunk: doc scd tests tests/pkits
svn author wk
cvs at cvs.gnupg.org
Thu Feb 19 17:19:16 CET 2009
Author: wk
Date: 2009-02-19 17:19:16 +0100 (Thu, 19 Feb 2009)
New Revision: 4930
Modified:
trunk/doc/faq.raw
trunk/scd/ChangeLog
trunk/scd/scdaemon.c
trunk/tests/ChangeLog
trunk/tests/Makefile.am
trunk/tests/inittests
trunk/tests/pkits/ChangeLog
trunk/tests/pkits/Makefile.am
trunk/tests/pkits/common.sh
Log:
Fix bug 1001.
Documentation updates.
Modified: trunk/scd/ChangeLog
===================================================================
--- trunk/scd/ChangeLog 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/scd/ChangeLog 2009-02-19 16:19:16 UTC (rev 4930)
@@ -154,7 +154,6 @@
2008-10-14 Werner Koch <wk at g10code.com>
-
* apdu.c (reader_table_s): Add fields connect_card and
disconnect_card.
(new_reader_slot): Set them to NULL.
Modified: trunk/tests/ChangeLog
===================================================================
--- trunk/tests/ChangeLog 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/tests/ChangeLog 2009-02-19 16:19:16 UTC (rev 4930)
@@ -1,3 +1,8 @@
+2009-02-19 Werner Koch <wk at g10code.com>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd.
+ * inittests: Ditto. Fixes bug#1001.
+
2008-10-20 Werner Koch <wk at g10code.com>
* asschk.c (cmd_echo): Mark unused arg.
Modified: trunk/tests/pkits/ChangeLog
===================================================================
--- trunk/tests/pkits/ChangeLog 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/tests/pkits/ChangeLog 2009-02-19 16:19:16 UTC (rev 4930)
@@ -1,3 +1,8 @@
+2009-02-19 Werner Koch <wk at g10code.com>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd
+ * common.sh: Ditto.
+
2008-02-19 Werner Koch <wk at g10code.com>
* inittests: Unpack test data onlyu if available.
Modified: trunk/doc/faq.raw
===================================================================
--- trunk/doc/faq.raw 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/doc/faq.raw 2009-02-19 16:19:16 UTC (rev 4930)
@@ -1326,7 +1326,19 @@
timestamp of the self-signature is increased by one second when
running this command.
+<Q> How can I import all the missing signer keys?
+ If you imported a key and you want to also import all the signer's
+ keys, you can do this with this command:
+
+ gpg --check-sigs --with-colon KEYID \
+ | awk -F: '$1 == "sig" && $2 == "?" { print $5 }' \
+ | sort | uniq | xargs echo gpg --recv-keys
+
+ Note that the invocation of sort is also required to wait for the
+ of the listing before before starting the import.
+
+
<S> ACKNOWLEDGEMENTS
Many thanks to Nils Ellmenreich for maintaining this FAQ file for
Modified: trunk/scd/scdaemon.c
===================================================================
--- trunk/scd/scdaemon.c 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/scd/scdaemon.c 2009-02-19 16:19:16 UTC (rev 4930)
@@ -1075,7 +1075,7 @@
FD2INT(ctrl->thread_startup.fd));
/* If this is a pipe server, we request a shutdown if the command
- hanlder asked for it. With the next ticker event and given that
+ handler asked for it. With the next ticker event and given that
no other connections are running the shutdown will then
happen. */
if (scd_command_handler (ctrl, FD2INT(ctrl->thread_startup.fd))
Modified: trunk/tests/Makefile.am
===================================================================
--- trunk/tests/Makefile.am 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/tests/Makefile.am 2009-02-19 16:19:16 UTC (rev 4930)
@@ -29,10 +29,12 @@
GPGSM = ../sm/gpgsm
+# Note that we need to use /bin/pwd so that we don't get into trouble
+# if the shell used for inittests would uses an internal version of
+# pwd which handles symlinks differently.
+TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
+ GPGSM=$(GPGSM) $(srcdir)/runtest
-TESTS_ENVIRONMENT = GNUPGHOME=`pwd` GPG_AGENT_INFO= LC_ALL=C GPGSM=$(GPGSM) \
- $(srcdir)/runtest
-
testscripts = sm-sign+verify sm-verify
EXTRA_DIST = runtest inittests $(testscripts) \
Modified: trunk/tests/inittests
===================================================================
--- trunk/tests/inittests 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/tests/inittests 2009-02-19 16:19:16 UTC (rev 4930)
@@ -51,7 +51,7 @@
exit 0
fi
-if [ "$GNUPGHOME" != "`pwd`" ]; then
+if [ "$GNUPGHOME" != "`/bin/pwd`" ]; then
echo "inittests: please set GNUPGHOME to the test directory" >&2
exit 1
fi
Modified: trunk/tests/pkits/Makefile.am
===================================================================
--- trunk/tests/pkits/Makefile.am 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/tests/pkits/Makefile.am 2009-02-19 16:19:16 UTC (rev 4930)
@@ -20,8 +20,8 @@
GPGSM = ../../sm/gpgsm
-TESTS_ENVIRONMENT = GNUPGHOME=`pwd` GPG_AGENT_INFO= LC_ALL=C GPGSM=$(GPGSM) \
- silent=yes
+TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
+ GPGSM=$(GPGSM) silent=yes
testscripts = import-all-certs validate-all-certs \
Modified: trunk/tests/pkits/common.sh
===================================================================
--- trunk/tests/pkits/common.sh 2009-02-12 17:45:40 UTC (rev 4929)
+++ trunk/tests/pkits/common.sh 2009-02-19 16:19:16 UTC (rev 4930)
@@ -42,7 +42,7 @@
MYTIME="20080508T120000"
-if [ "$GNUPGHOME" != "`pwd`" ]; then
+if [ "$GNUPGHOME" != "`/bin/pwd`" ]; then
echo "inittests: please set GNUPGHOME to the tests/pkits directory" >&2
exit 1
fi
More information about the Gnupg-commits
mailing list