mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
practracker: print a notice to stderr when disabled
When TOR_DISABLE_PRACTRACKER is set, print a message to stderr when skipping practracker checks. Part of 32705.
This commit is contained in:
parent
6b1592b564
commit
7e111d0eaa
@ -2,3 +2,6 @@
|
||||
- When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
|
||||
test_practracker.sh script. Doing so caused a test failure.
|
||||
Fixes bug 32705; bugfix on 0.4.2.1-alpha.
|
||||
- When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr
|
||||
when skipping practracker checks.
|
||||
Fixes bug 32705; bugfix on 0.4.2.1-alpha.
|
||||
|
@ -297,5 +297,7 @@ variable.
|
||||
|
||||
if __name__ == '__main__':
|
||||
if os.environ.get("TOR_DISABLE_PRACTRACKER"):
|
||||
print("TOR_DISABLE_PRACTRACKER is set, skipping practracker tests.",
|
||||
file=sys.stderr)
|
||||
sys.exit(0)
|
||||
main(sys.argv)
|
||||
|
Loading…
Reference in New Issue
Block a user