[tor-bugs] #30077 [Core Tor/Tor]: shellcheck: src/test/fuzz/fuzz_multi.sh issues

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 8 07:58:43 UTC 2019


#30077: shellcheck: src/test/fuzz/fuzz_multi.sh issues
------------------------------+--------------------
     Reporter:  rl1987        |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 {{{

 In ./src/test/fuzz/fuzz_multi.sh line 1:
 MEMLIMIT_BYTES=21990500990976
 ^-- SC2148: Tips depend on target shell and yours is unknown. Add a
 shebang.


 In ./src/test/fuzz/fuzz_multi.sh line 9:
 FILTER=echo
 ^----^ SC2209: Use var=$(command) to assign output (or quote to assign
 string).


 In ./src/test/fuzz/fuzz_multi.sh line 11:
 for i in `seq -w "$N_CPUS"`; do
          ^----------------^ SC2006: Use $(...) notation instead of legacy
 backticked `...`.

 For more information:
   https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell
 and y...
   https://www.shellcheck.net/wiki/SC2209 -- Use var=$(command) to assign
 outp...
   https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of
 le...
 }}}

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


More information about the tor-bugs mailing list