[tor-commits] [tor/maint-0.4.2] test_practracker.sh: never disable practracker

teor at torproject.org teor at torproject.org
Tue Jan 14 07:42:36 UTC 2020


commit 6b1592b56439ddbb9e47444f77de2d03429cc0ff
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jan 13 16:17:51 2020 -0500

    test_practracker.sh: never disable practracker
    
    When practracker is disabled, its output will be empty.  We don't
    want that happening during our tests.
    
    Fixes bug 32705; bugfix on 0.4.2.1-alpha, when test_practracker.sh
    was introduced.
---
 changes/ticket32705_disable                   | 4 ++++
 scripts/maint/practracker/test_practracker.sh | 1 +
 2 files changed, 5 insertions(+)

diff --git a/changes/ticket32705_disable b/changes/ticket32705_disable
new file mode 100644
index 000000000..1da643175
--- /dev/null
+++ b/changes/ticket32705_disable
@@ -0,0 +1,4 @@
+  o Minor bugfixes (testing):
+    - 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.
diff --git a/scripts/maint/practracker/test_practracker.sh b/scripts/maint/practracker/test_practracker.sh
index 9b107e071..207a5cede 100755
--- a/scripts/maint/practracker/test_practracker.sh
+++ b/scripts/maint/practracker/test_practracker.sh
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 umask 077
+unset TOR_DISABLE_PRACTRACKER
 
 TMPDIR=""
 clean () {





More information about the tor-commits mailing list