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:
@@ -120,7 +120,7 @@ ${kadmin} list '*' > /dev/null || exit 1
|
||||
echo "$foopassword" > ${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; sh ${srcdir}/slapd-stop ; exit 1;" EXIT
|
||||
|
Reference in New Issue
Block a user