tests: Disable 'pkits' test suite.
authorJustus Winter <justus@g10code.com>
Thu, 6 Apr 2017 12:31:54 +0000 (14:31 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 6 Apr 2017 12:31:54 +0000 (14:31 +0200)
* 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>
tests/Makefile.am
tests/pkits/common.sh
tests/pkits/inittests

index bb75c97..7cbf9e8 100644 (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
 
index ca18b95..697f28f 100644 (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
index 5c29bdc..4bff0a8 100755 (executable)
@@ -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