fix testing errors

- the checkprivate function in the dnssec test set ret=0, erasing
  results from previous tests and making the test appear to have passed
  when it shouldn't have
- checkprivate needed a delay loop to ensure there was time for all
  private signing records to be updated before the test

(cherry picked from commit 82e83d5d)
41 jobs for !1334 with each-fix-dnssec-test-error-v9_11 in 17 minutes and 16 seconds (queued for 4 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed 🐞:sid:amd64:precheck #148661
amd64 docker linux

00:01:05

passed sid:amd64:precheck #148660
amd64 docker linux

00:00:18

 
  Build
passed asan:sid:amd64:build #148668
amd64 docker linux

00:03:26

passed bionic:amd64:build #148674
amd64 docker linux

00:02:01

passed centos6:amd64:build #148662
amd64 docker linux

00:02:15

passed centos7:amd64:build #148663
amd64 docker linux

00:02:15

passed clang:stretch:amd64:build #148664
amd64 docker linux

00:03:06

passed clang:stretch:i386:build #148669
i386 docker linux

00:01:30

passed jessie:amd64:build #148665
amd64 docker linux

00:02:01

passed noassert:sid:amd64:build #148672
amd64 docker linux

00:01:25

passed pkcs11:sid:amd64:build #148671
amd64 docker linux

00:01:42

passed sid:amd64:build #148667
amd64 docker linux

00:01:40

passed sid:i386:build #148670
i386 docker linux

00:02:07

passed stretch:amd64:build #148666
amd64 docker linux

00:02:21

passed xenial:amd64:build #148673
amd64 docker linux

00:01:26

 
  Test
passed docs:sid:amd64 #148675
amd64 docker linux

00:00:57

passed install:sid:amd64 #148691
amd64 docker linux

00:02:15

passed noassert:system:sid:amd64 #148695
amd64 docker linux

00:05:53

passed noassert:unit:sid:amd64 #148694
amd64 docker linux

00:01:09

passed pkcs11:system:sid:amd64 #148693
amd64 docker linux

00:05:29

passed pkcs11:unit:sid:amd64 #148692
amd64 docker linux

00:01:11

passed system:asan:sid:amd64 #148689
amd64 docker linux

00:07:11

passed system:bionic:amd64 #148699
amd64 docker linux

00:05:33

passed system:centos6:amd64 #148684
amd64 docker linux

00:05:47

passed system:centos7:amd64 #148685
amd64 docker linux

00:05:45

passed system:jessie:amd64 #148686
amd64 docker linux

00:05:46

passed system:sid:amd64 #148688
amd64 docker linux

00:06:55

passed system:sid:i386 #148700
linux docker i386

00:05:30

passed system:stretch:amd64 #148687
amd64 docker linux

00:06:54

passed system:xenial:amd64 #148697
amd64 docker linux

00:05:32

passed unit:asan:sid:amd64 #148681
amd64 docker linux

00:01:44

passed unit:bionic:amd64 #148698
amd64 docker linux

00:01:09

passed unit:centos6:amd64 #148676
amd64 docker linux

00:01:01

passed unit:centos7:amd64 #148677
amd64 docker linux

00:01:18

passed unit:clang:stretch:amd64 #148682
amd64 docker linux

00:01:13

passed unit:jessie:amd64 #148678
amd64 docker linux

00:00:35

passed unit:sid:amd64 #148680
amd64 docker linux

00:01:15

passed unit:sid:i386 #148683
i386 docker linux

00:01:07

passed unit:stretch:amd64 #148679
amd64 docker linux

00:01:13

passed unit:xenial:amd64 #148696
amd64 docker linux

00:00:48

failed system:sid:i386 #148690
i386 docker linux

00:07:29