]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: userid test moved to cert-tests/
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 26 Jul 2016 12:55:25 +0000 (14:55 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 26 Jul 2016 13:01:33 +0000 (15:01 +0200)
tests/Makefile.am
tests/cert-tests/Makefile.am
tests/cert-tests/data/userid.pem [moved from tests/userid/userid.pem with 100% similarity]
tests/cert-tests/userid [moved from tests/userid/userid with 92% similarity]
tests/userid/Makefile.am [deleted file]

index ed80f6ba0db889f57c8c72761b5c73cbbf24fa1c..0c48d293dcca997e3552a92f79e356207840ffaf 100644 (file)
@@ -20,7 +20,7 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 SUBDIRS = . pkcs1-padding pkcs8-decode pkcs12-decode   \
-       userid cert-tests ocsp-tests key-tests sha2 safe-renegotiation dsa scripts ecdsa \
+       cert-tests ocsp-tests key-tests sha2 safe-renegotiation dsa scripts ecdsa \
        slow dtls srp windows
 
 if ENABLE_OPENPGP
index 87d372b6cd95a8c94ac673b0ac48657acb9a0d82..664ee347cccca74305c41f8bbba2c32e615c5b31 100644 (file)
@@ -45,14 +45,14 @@ EXTRA_DIST = data/ca-no-pathlen.pem data/no-ca-or-pathlen.pem data/aki-cert.pem
        data/template-rsa-sha3-256.pem data/template-rsa-sha3-512.pem data/template-rsa-sha3-224.pem \
        data/template-rsa-sha3-384.pem \
        data/name-constraints-ip2.pem data/chain-md5.pem data/gost-cert.pem \
-       templates/template-tlsfeature.tmpl \
+       templates/template-tlsfeature.tmpl data/userid.pem \
        data/template-tlsfeature.pem data/template-tlsfeature.csr \
        templates/template-tlsfeature-crq.tmpl templates/arb-extensions.tmpl data/arb-extensions.pem \
        data/arb-extensions.csr
 
 dist_check_SCRIPTS = pathlen aki certtool invalid-sig email \
        pkcs7 pkcs7-broken-sigs privkey-import name-constraints certtool-long-cn crl provable-privkey \
-       provable-dh
+       provable-dh userid
 
 if !HAVE_BUGGY_LIBIDN
 dist_check_SCRIPTS += certtool-utf8
similarity index 92%
rename from tests/userid/userid
rename to tests/cert-tests/userid
index b1c93fcf3a9ce4a58563b98940a4fa94c1153110..912e0c94adad86f5cef935a35d5db5f3557f1a68 100755 (executable)
@@ -23,7 +23,7 @@
 srcdir="${srcdir:-.}"
 CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
 
-"${CERTTOOL}" --certificate-info --infile "${srcdir}/userid.pem" >out 2>&1
+"${CERTTOOL}" --certificate-info --infile "${srcdir}/data/userid.pem" >out 2>&1
 RET=$?
 if [ ${RET} !=  0 ]; then
        echo "Error in userid:"
diff --git a/tests/userid/Makefile.am b/tests/userid/Makefile.am
deleted file mode 100644 (file)
index ea06dd5..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-## Process this file with automake to produce Makefile.in
-# Copyright (C) 2006, 2008, 2010, 2012 Free Software Foundation, Inc.
-#
-# Author: Simon Josefsson
-#
-# This file is part of GnuTLS.
-#
-# This file is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-#
-# This file is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this file; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-EXTRA_DIST = userid.pem
-
-dist_check_SCRIPTS = userid
-
-TESTS = userid
-
-TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \
-       LC_ALL="C"                                              \
-       top_builddir="$(top_builddir)"                          \
-       srcdir="$(srcdir)"