summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-07 09:30:18 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-07 09:30:20 +0200
commita662a4ba1119065d245d0aeb83e0a3586aa8da09 (patch)
tree3abe5c056a46226a3030715c1a66c3957fadc448
parentdfcc4443d297548a203c7ff98ea8b6b6cc1a3c53 (diff)
downloadgnutls-pkcs12-ucs2.tar.gz
tests: do not run pkcs12-utf8 under windowspkcs12-ucs2
This test required to pass UTF8 data under command line, and that doesn't seem to work under windows.
-rw-r--r--tests/cert-tests/Makefile.am4
-rwxr-xr-xtests/cert-tests/pkcs12-utf83
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am
index 76fb776a3b..e66c7ff995 100644
--- a/tests/cert-tests/Makefile.am
+++ b/tests/cert-tests/Makefile.am
@@ -62,7 +62,7 @@ EXTRA_DIST = data/ca-no-pathlen.pem data/no-ca-or-pathlen.pem data/aki-cert.pem
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 userid sha2-test sha2-dsa-test pkcs12-utf8
+ provable-dh userid sha2-test sha2-dsa-test
if !ENABLE_FIPS140
dist_check_SCRIPTS += pkcs12
@@ -87,7 +87,7 @@ endif
if !WINDOWS
dist_check_SCRIPTS += template-test pem-decoding othername-test krb5-test sha3-test md5-test \
- tlsfeature-test template-exts-test pkcs1-pad
+ tlsfeature-test template-exts-test pkcs1-pad pkcs12-utf8
endif
if ENABLE_DANE
diff --git a/tests/cert-tests/pkcs12-utf8 b/tests/cert-tests/pkcs12-utf8
index 5c1049ed5c..154d916cb9 100755
--- a/tests/cert-tests/pkcs12-utf8
+++ b/tests/cert-tests/pkcs12-utf8
@@ -21,6 +21,9 @@
# along with GnuTLS; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# This test cannot run under windows because it passes UTF8 data on command
+# line. This seems not to work under windows.
+
srcdir="${srcdir:-.}"
top_builddir="${top_builddir:-../..}"
CERTTOOL="${CERTTOOL:-${top_builddir}/src/certtool${EXEEXT}}"