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-20 13:38:08 +0200 |
commit | aefab4a220faee14f33e3d9831c5673a4caf9694 (patch) | |
tree | daea5d0e782bc4ed63827c75002d045138109b71 | |
parent | 910528324d4a0cd74b71d62daeb3ff12d932ab17 (diff) | |
download | gnutls-aefab4a220faee14f33e3d9831c5673a4caf9694.tar.gz |
tests: suite: chain: support separate builddir
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
-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 |