Don't forget to sleep in 3DES del_enctype test.

On NetBSD /bin/sh with vfork() is noticeably faster than /bin/bash,
and in particular the reader manages to read the the database before
slave replication completes.
This commit is contained in:
Viktor Dukhovni
2012-05-27 22:20:58 +00:00
committed by Roland C. Dowdeswell
parent 65ffba10cc
commit 1b3f1b57b4

View File

@@ -142,6 +142,7 @@ ${kadmin} -l get host/foo@${R} | \
echo "Delete 3DES keys"
${kadmin} -l del_enctype host/foo@${R} des3-cbc-sha1
sleep 2
KRB5_CONFIG="${objdir}/krb5-slave.conf" \
${kadmin} -l get host/foo@${R} | \
${EGREP} Keytypes: | cut -d: -f2 | tr ' ' '