summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/cert-tests/krb5-test4
1 files changed, 2 insertions, 2 deletions
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" \