Use --detach in tests to avoid waiting

This commit is contained in:
Nicolas Williams
2016-12-04 16:42:33 -06:00
parent 8735d47d8b
commit 2027aa11ed
26 changed files with 95 additions and 205 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/sh
HEIM_PIDFILE_DIR="${objdir}/"
export HEIM_PIDFILE_DIR
unset KRB5_CONFIG
unset KRB5CCNAME
@@ -48,6 +51,13 @@ test_kuserok="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_kuserok"
have_db="${top_builddir}/tests/db/have-db"
leaks_kill="${top_srcdir}/tests/kdc/leaks-kill.sh"
wait_kdc="${top_srcdir}/tests/kdc/wait-kdc.sh"
getpid () {
if [ -f "$HEIM_PIDFILE_DIR/lt-${1}.pid" ]; then
cat "$HEIM_PIDFILE_DIR/lt-${1}.pid"
else
cat "$HEIM_PIDFILE_DIR/${1}.pid"
fi
}
if [ ! "${NO_AFS}" ] ; then
afs_no_unlog="--no-unlog"