diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-09-25 11:16:38 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-09-25 11:16:38 +0200 |
commit | b59985caa1e760a68eb321d29aa7ff4b6b633ce0 (patch) | |
tree | 72bde3132a9fcadac149af6a1ea813d8269b8311 /tests/rsa-md5-collision | |
parent | 6d536685e7180557445b2ab2eee735c09b16772e (diff) | |
download | gnutls-b59985caa1e760a68eb321d29aa7ff4b6b633ce0.tar.gz |
Use EXEEXT in self-test scripts.
Diffstat (limited to 'tests/rsa-md5-collision')
-rw-r--r-- | tests/rsa-md5-collision/Makefile.am | 4 | ||||
-rwxr-xr-x | tests/rsa-md5-collision/rsa-md5-collision | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/rsa-md5-collision/Makefile.am b/tests/rsa-md5-collision/Makefile.am index 7d1dbe4bbd..785efa799c 100644 --- a/tests/rsa-md5-collision/Makefile.am +++ b/tests/rsa-md5-collision/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -# Copyright (C) 2006 Free Software Foundation +# Copyright (C) 2006, 2008 Free Software Foundation # # Author: Simon Josefsson # @@ -27,3 +27,5 @@ EXTRA_DIST = MD5CollisionCA.cer \ dist_check_SCRIPTS = rsa-md5-collision TESTS = rsa-md5-collision + +TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) diff --git a/tests/rsa-md5-collision/rsa-md5-collision b/tests/rsa-md5-collision/rsa-md5-collision index a76164da58..af5b1b080e 100755 --- a/tests/rsa-md5-collision/rsa-md5-collision +++ b/tests/rsa-md5-collision/rsa-md5-collision @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2006 Free Software Foundation +# Copyright (C) 2006, 2008 Free Software Foundation # # Author: Simon Josefsson # @@ -23,7 +23,7 @@ set -e srcdir=${srcdir:-.} -CERTTOOL=${CERTTOOL:-../../src/certtool} +CERTTOOL=${CERTTOOL:-../../src/certtool$EXEEXT} $CERTTOOL --inder --certificate-info \ --infile $srcdir/MD5CollisionCA.cer > ca.pem |