]> 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 19:54:42 +0000 (19:54 +0000)
"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'

bin/tests/system/kasp/tests.sh

index ab65dff3ad6c8546c8c496a99c0d364b0b8e9935..4cb9bbbe9bcc58ecf19530d1ffea9715dfcb2f93 100644 (file)
@@ -250,8 +250,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)"