[tor-bugs] #29065 [Core Tor/Tor]: shellcheck: test_switch_id.sh issues

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 11 15:41:58 UTC 2019


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

 In test_switch_id.sh line 3:
 if test "`id -u`" != '0'; then
          ^-- SC2006: Use $(..) instead of legacy `..`.


 In test_switch_id.sh line 8:
 if test "`id -u nobody`" = ""; then
          ^-- SC2006: Use $(..) instead of legacy `..`.

 }}}

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


More information about the tor-bugs mailing list