diff options
author | Elias Pipping <pipping@exherbo.org> | 2012-10-14 21:30:26 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-28 02:39:01 +0100 |
commit | 206da0ac665d8770a00fc190716d9172c84e9c40 (patch) | |
tree | c87af51c022ae536500b6bd348ddac4c932956c1 /tests/pkcs12-decode | |
parent | ede349c6fe916355124c21ad834bfd7207b9b445 (diff) | |
download | gnutls-206da0ac665d8770a00fc190716d9172c84e9c40.tar.gz |
Fix out-of-source tests
Diffstat (limited to 'tests/pkcs12-decode')
-rwxr-xr-x | tests/pkcs12-decode/pkcs12 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pkcs12-decode/pkcs12 b/tests/pkcs12-decode/pkcs12 index a2ee20bdd4..ca5882730a 100755 --- a/tests/pkcs12-decode/pkcs12 +++ b/tests/pkcs12-decode/pkcs12 @@ -22,7 +22,8 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. srcdir=${srcdir:-.} -CERTTOOL=${CERTTOOL:-../../src/certtool} +top_builddir=${top_builddir:-../..} +CERTTOOL=${CERTTOOL:-${top_builddir}/src/certtool} DEBUG="" if test "x$1" != "x";then @@ -49,7 +50,7 @@ for p12 in 'client.p12 foobar' noclient.p12 unclient.p12 pkcs12_2certs.p12; do done file=test-null.p12 -$CERTTOOL --p12-info --inder --null-password --infile $file >/dev/null 2>&1 +$CERTTOOL --p12-info --inder --null-password --infile $srcdir/$file >/dev/null 2>&1 rc=$? if test $rc != 0; then echo "PKCS12 FATAL $file" |