1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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@g10code.com>
This commit is contained in:
Justus Winter 2017-04-06 14:31:54 +02:00
parent 94645311f8
commit af1c1a57e4
No known key found for this signature in database
GPG Key ID: DD1A52F9DA8C9020
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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