diff options
author | teor <teor@torproject.org> | 2020-01-14 17:32:11 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-01-14 17:41:00 +1000 |
commit | 7e111d0eaa05d5099d101e82afa1709438fe994e (patch) | |
tree | 854587cb2ee2b3e50e15182971d4b1cc4726008c | |
parent | 6b1592b56439ddbb9e47444f77de2d03429cc0ff (diff) | |
download | tor-7e111d0eaa05d5099d101e82afa1709438fe994e.tar.gz tor-7e111d0eaa05d5099d101e82afa1709438fe994e.zip |
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.
-rw-r--r-- | changes/ticket32705_disable | 3 | ||||
-rwxr-xr-x | scripts/maint/practracker/practracker.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/changes/ticket32705_disable b/changes/ticket32705_disable index 1da643175f..6d5b0779ab 100644 --- a/changes/ticket32705_disable +++ b/changes/ticket32705_disable @@ -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. diff --git a/scripts/maint/practracker/practracker.py b/scripts/maint/practracker/practracker.py index f6aac9d15e..71741265f6 100755 --- a/scripts/maint/practracker/practracker.py +++ b/scripts/maint/practracker/practracker.py @@ -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) |