From: Matt Turner Date: Fri, 31 Mar 2017 20:45:04 +0000 (-0700) Subject: tests: Copy template out of ${srcdir} X-Git-Tag: gnutls_3_6_0~725 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ea5014cbbebc1fe58fabfbb1243ff05dac12a55;p=thirdparty%2Fgnutls.git tests: Copy template out of ${srcdir} Otherwise, out of tree builds will fail to copy the template. Signed-off-by: Matt Turner --- diff --git a/tests/cert-tests/krb5-test b/tests/cert-tests/krb5-test index 3ada1f9b4e..a331acbb4f 100755 --- a/tests/cert-tests/krb5-test +++ b/tests/cert-tests/krb5-test @@ -60,7 +60,7 @@ if test "${rc}" != "0"; then fi # Negative tests. Check against values which may cause problems -cp templates/template-krb5name.tmpl ${TMPLFILE} +cp "${srcdir}/templates/template-krb5name.tmpl" ${TMPLFILE} echo "krb5_principal = 'xxxxxxxxxxxxxx'" >>${TMPLFILE} datefudge -s "2007-04-22" \ @@ -77,7 +77,7 @@ if test "${rc}" != "1"; then exit ${rc} fi -cp templates/template-krb5name.tmpl ${TMPLFILE} +cp "${srcdir}/templates/template-krb5name.tmpl" ${TMPLFILE} echo "krb5_principal = 'comp1/comp2/comp3/comp4/comp5/comp6/comp7/comp8/comp9/comp10@REALM.COM'" >>${TMPLFILE} datefudge -s "2007-04-22" \