From 1b3f1b57b428108937f3f9c7459ea1be3f62a214 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Sun, 27 May 2012 22:20:58 +0000 Subject: [PATCH] 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. --- tests/kdc/check-iprop.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kdc/check-iprop.in b/tests/kdc/check-iprop.in index 7ad0bda37..5b66f7d32 100644 --- a/tests/kdc/check-iprop.in +++ b/tests/kdc/check-iprop.in @@ -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 ' ' '