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/sha2 | |
parent | 6d536685e7180557445b2ab2eee735c09b16772e (diff) | |
download | gnutls-b59985caa1e760a68eb321d29aa7ff4b6b633ce0.tar.gz |
Use EXEEXT in self-test scripts.
Diffstat (limited to 'tests/sha2')
-rw-r--r-- | tests/sha2/Makefile.am | 4 | ||||
-rwxr-xr-x | tests/sha2/sha2 | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/sha2/Makefile.am b/tests/sha2/Makefile.am index 1876d3d7a1..cdfa994d75 100644 --- a/tests/sha2/Makefile.am +++ b/tests/sha2/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -# Copyright (C) 2007 Free Software Foundation +# Copyright (C) 2007, 2008 Free Software Foundation # # Author: Simon Josefsson # @@ -24,3 +24,5 @@ EXTRA_DIST = key-ca.pem key-subca.pem key-subsubca.pem key-user.pem dist_check_SCRIPTS = sha2 TESTS = sha2 + +TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) diff --git a/tests/sha2/sha2 b/tests/sha2/sha2 index b6acc7180e..6ac693f6f7 100755 --- a/tests/sha2/sha2 +++ b/tests/sha2/sha2 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2006, 2007 Free Software Foundation +# Copyright (C) 2006, 2007, 2008 Free Software Foundation # # Author: Simon Josefsson # @@ -23,7 +23,7 @@ set -e srcdir=${srcdir:-.} -CERTTOOL=${CERTTOOL:-../../src/certtool} +CERTTOOL=${CERTTOOL:-../../src/certtool$EXEEXT} echo ca > template echo cn = "SHA 512 CA" >> template |