diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2017-01-05 14:01:30 +0200 |
---|---|---|
committer | Alon Bar-Lev <alon.barlev@gmail.com> | 2017-01-05 14:01:57 +0200 |
commit | 41da7be67e0e0f30ea274a6f2d5af700be064b61 (patch) | |
tree | 4271f9771cc0707ff74ae4569d5b6eb0e26b83de /tests | |
parent | 98e49e9d0727d93a58b336dac0a78ce74558e8c8 (diff) | |
download | gnutls-41da7be67e0e0f30ea274a6f2d5af700be064b61.tar.gz |
tests: suite: chain: support separate builddir
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/suite/chain.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/suite/chain.sh b/tests/suite/chain.sh index d179f4ea4b..d671aa89e2 100755 --- a/tests/suite/chain.sh +++ b/tests/suite/chain.sh @@ -20,6 +20,8 @@ # along with GnuTLS; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +srcdir="${srcdir:-.}" +mkdir -p x509paths cd x509paths CERTTOOL="${CERTTOOL:-../../../src/certtool${EXEEXT}}" @@ -36,7 +38,7 @@ SUCCESS=" 1 4 7 12 15 16 17 18 24 26 27 30 33 56 57 62 63 " FAILURE=" 2 3 5 6 8 9 10 11 13 14 19 20 21 22 23 25 28 29 31 32 54 55 58 59 60 61 " KNOWN_BUGS=" 15 16 17 18 19 31 32 " -test -d X509tests || tar xfz x509tests.tgz +test -d X509tests || tar xfz "${srcdir}/x509tests.tgz" mkdir -p chains RET=0 |