[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #29060 [Core Tor/Tor]: shellcheck: test-network.sh issues



#29060: shellcheck: test-network.sh issues
-------------------------------------------------+-------------------------
 Reporter:  rl1987                               |          Owner:  rl1987
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.1.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  technical-debt, regression,          |  Actual Points:
  041-must                                       |
Parent ID:                                       |         Points:
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by rl1987):

 Pull request to revert bad commit:
 https://github.com/torproject/tor/pull/779

 However we still don't want to require bash for this script.

 We could use POSIX `getopts` [0] here, but that would require us to
 downgrade `--chutney-path`, `--tor-path` and `--quiet` to single-character
 option names. There's also getopt(1), but that seems to be different
 between Linux and BSD-derived systems. What do you think? Any other ideas?

 [0]
 http://pubs.opengroup.org/onlinepubs/9699919799.2018edition/utilities/getopts.html

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29060#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs