test: When kdc fails to start, show the log

This is an attempt to find out why the GitHub Actions OS X build is
failing.
This commit is contained in:
Nicolas Williams
2022-01-20 14:32:17 -06:00
parent 7e67437594
commit 06ba7b1597
25 changed files with 26 additions and 26 deletions

View File

@@ -94,7 +94,7 @@ echo "Doing database check"
${kadmin} check ${R} || exit 1
echo Starting kdc
${kdc} --testing --detach || { echo "kdc failed to start"; exit 1; }
${kdc} --testing --detach || { echo "kdc failed to start"; cat messages.log; exit 1; }
kdcpid=`getpid kdc`
trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT

View File

@@ -115,7 +115,7 @@ ${kadmin} check ${R} || exit 1
echo u1 > ${objdir}/foopassword
echo Starting kdc
${kdc} --detach --testing || { echo "kdc failed to start"; exit 1; }
${kdc} --detach --testing || { echo "kdc failed to start"; cat messages.log; exit 1; }
kdcpid=`getpid kdc`
trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT

View File

@@ -93,7 +93,7 @@ echo "Doing database check"
${kadmin} check ${R} || exit 1
echo Starting kdc
${kdc} --detach --testing || { echo "kdc failed to start"; exit 1; }
${kdc} --detach --testing || { echo "kdc failed to start"; cat messages.log; exit 1; }
kdcpid=`getpid kdc`
trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT

View File

@@ -107,7 +107,7 @@ echo u1 > ${objdir}/foopassword
echo ds > ${objdir}/barpassword
echo Starting kdc
${kdc} --detach --testing || { echo "kdc failed to start"; exit 1; }
${kdc} --detach --testing || { echo "kdc failed to start"; cat messages.log; exit 1; }
kdcpid=`getpid kdc`
trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT

View File

@@ -106,7 +106,7 @@ echo u1 > ${objdir}/foopassword
echo ds > ${objdir}/barpassword
echo Starting kdc
${kdc} --detach --testing || { echo "kdc failed to start"; exit 1; }
${kdc} --detach --testing || { echo "kdc failed to start"; cat messages.log; exit 1; }
kdcpid=`getpid kdc`
trap "kill ${kdcpid}; echo signal killing kdc; exit 1;" EXIT