[Pkg-gnupg-commit] [gnupg2] 10/132: tests: Disable 'pkits' test suite.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed May 17 03:07:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit af1c1a57e46a00a32d83c1a58c5f3ef6f4a1c1d1
Author: Justus Winter <justus at g10code.com>
Date: Thu Apr 6 14:31:54 2017 +0200
tests: Disable 'pkits' test suite.
* tests/Makefile.am (SUBDIRS): Drop 'pkits'.
* tests/pkits/common.sh: Fix locating 'PKITS_data.tar.bz2'.
* tests/pkits/inittests: Likewise.
--
These tests are unmaintained and broken, and were previously only run
when doing in-tree builds, hence nobody noticed that they were badly
broken.
GnuPG-bug-id: 3067
Signed-off-by: Justus Winter <justus at g10code.com>
---
tests/Makefile.am | 2 +-
tests/pkits/common.sh | 2 +-
tests/pkits/inittests | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bb75c97..7cbf9e8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -18,7 +18,7 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = gpgscm openpgp migrations gpgsm gpgme pkits .
+SUBDIRS = gpgscm openpgp migrations gpgsm gpgme .
GPGSM = ../sm/gpgsm
diff --git a/tests/pkits/common.sh b/tests/pkits/common.sh
index ca18b95..697f28f 100644
--- a/tests/pkits/common.sh
+++ b/tests/pkits/common.sh
@@ -52,7 +52,7 @@ if [ -n "$GPG_AGENT_INFO" ]; then
exit 1
fi
-if [ -f PKITS_data.tar.bz2 ]; then
+if [ -f "$srcdir/PKITS_data.tar.bz2" ]; then
:
else
if [ "$pgmname" = "import-all-certs" ]; then
diff --git a/tests/pkits/inittests b/tests/pkits/inittests
index 5c29bdc..4bff0a8 100755
--- a/tests/pkits/inittests
+++ b/tests/pkits/inittests
@@ -58,8 +58,8 @@ if [ -n "$GPG_AGENT_INFO" ]; then
exit 1
fi
-if test -f PKITS_data.tar.bz2; then
- if ! bunzip2 -c PKITS_data.tar.bz2 | tar xf - ; then
+if test -f "$srcdir/PKITS_data.tar.bz2"; then
+ if ! bunzip2 -c "$srcdir/PKITS_data.tar.bz2" | tar xf - ; then
echo "inittests: failed to untar the test data" >&2
exit 1
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list