]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add sleep 1 so that the signing happens in a different second
authorMark Andrews <marka@isc.org>
Thu, 27 Jul 2023 22:38:20 +0000 (08:38 +1000)
committerMark Andrews <marka@isc.org>
Tue, 1 Aug 2023 23:47:55 +0000 (23:47 +0000)
bin/tests/system/autosign/tests.sh

index 604943cf402d8e71a369dbfade36b7c281e9305d..28045bc5c459f4d2beeee8172c2be0bac0678bf4 100755 (executable)
@@ -998,6 +998,7 @@ status=$((status + ret))
 
 echo_i "checking scheduled key activation ($n)"
 ret=0
+sleep 1 # ensure file system time stamp of ns3/delay.example.db changes
 $SETTIME -K ns3 -A now $zsk > settime.out.test$n.zsk || ret=1
 $SETTIME -K ns3 -A now $ksk > settime.out.test$n.ksk || ret=1
 cp ns3/delay.example.db ns3/delay.example.2