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/userid | |
parent | 6d536685e7180557445b2ab2eee735c09b16772e (diff) | |
download | gnutls-b59985caa1e760a68eb321d29aa7ff4b6b633ce0.tar.gz |
Use EXEEXT in self-test scripts.
Diffstat (limited to 'tests/userid')
-rw-r--r-- | tests/userid/Makefile.am | 4 | ||||
-rwxr-xr-x | tests/userid/userid | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/userid/Makefile.am b/tests/userid/Makefile.am index 92327eddac..c21afa8d6b 100644 --- a/tests/userid/Makefile.am +++ b/tests/userid/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 # @@ -24,3 +24,5 @@ EXTRA_DIST = userid.pem dist_check_SCRIPTS = userid TESTS = userid + +TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) diff --git a/tests/userid/userid b/tests/userid/userid index 5b2b8fc69f..76315649ac 100755 --- a/tests/userid/userid +++ b/tests/userid/userid @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2006 Free Software Foundation +# Copyright (C) 2006, 2008 Free Software Foundation # # Author: Simon Josefsson # @@ -23,6 +23,6 @@ set -e srcdir=${srcdir:-.} -CERTTOOL=${CERTTOOL:-../../src/certtool} +CERTTOOL=${CERTTOOL:-../../src/certtool$EXEEXT} exec $CERTTOOL --certificate-info --infile $srcdir/userid.pem |