[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #30078 [Core Tor/Tor]: shellcheck: src/test/fuzz/fixup_filenames.sh issues
#30078: shellcheck: src/test/fuzz/fixup_filenames.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/fixup_filenames.sh line 11:
prev=`basename "$fn"`
^--------------^ SC2006: Use $(...) notation instead of legacy
backticked `...`.
In ./src/test/fuzz/fixup_filenames.sh line 12:
post=`sha256sum "$fn" | sed -e 's/ .*//;'`
^-- SC2006: Use $(...) notation instead of legacy backticked
`...`.
In ./src/test/fuzz/fixup_filenames.sh line 13:
if [ "$prev" == "$post" ] ; then
^-- SC2039: In POSIX sh, == in place of = is undefined.
For more information:
https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, == in place of =
is ...
https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of
le...
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30078>
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