]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove no-op assignment from kasp/tests.sh
authorMichal Nowak <mnowak@isc.org>
Wed, 3 Aug 2022 09:03:05 +0000 (11:03 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 14 Nov 2022 22:13:03 +0000 (23:13 +0100)
"next_key_event_threshold" is assigned with
"next_key_event_threshold+i", but "i" is empty (never set, nor used
afterwards).

posh, the Policy-compliant Ordinary SHell, failed on this assignment
with:

    tests.sh:253: : unexpected `end of expression'

(cherry picked from commit 00c3b1e30972fe41ea37da15c0b7995a3d312620)

bin/tests/system/kasp/tests.sh

index 481a7c1951739c48ab3f8350dff2c3b7996614d9..b62392e32d88a96841176341b65fcd50e6cc9fd2 100644 (file)
@@ -251,8 +251,6 @@ retry_quiet 30 _wait_for_done_apexnsec || ret=1
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 
-next_key_event_threshold=$((next_key_event_threshold+i))
-
 # Test max-zone-ttl rejects zones with too high TTL.
 n=$((n+1))
 echo_i "check that max-zone-ttl rejects zones with too high TTL ($n)"