[tor-bugs] #22302 [Core Tor/Chutney]: test-network.sh uses a deprecated arithmetic syntax

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 23 00:37:56 UTC 2017


#22302: test-network.sh uses a deprecated arithmetic syntax
------------------------------+-----------------------------
 Reporter:  catalyst          |          Owner:  catalyst
     Type:  defect            |         Status:  merge_ready
 Priority:  Medium            |      Milestone:
Component:  Core Tor/Chutney  |        Version:
 Severity:  Normal            |     Resolution:
 Keywords:                    |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+-----------------------------
Changes (by teor):

 * status:  needs_review => merge_ready
 * milestone:  Tor: unspecified =>


Comment:

 The bash thing will continue to haunt me until I switch my default sh.

 This is the only instance of this pattern in chutney.

 {{{
 $ grep -r --exclude-dir .git --exclude-dir net --exclude '*~' '$[[]' .
 ./tools/test-network.sh:      n_rounds=$[n_rounds+1]
 }}}

 I think this is fine to merge, is there any reason it is WIP on gitlab?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22302#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list