[tor-commits] [tor/master] test: Fix a loop variable bug in test_parseconf.sh

teor at torproject.org teor at torproject.org
Wed Oct 30 14:24:26 UTC 2019


commit 861b9366df534145e1316efa0c34a62cc2a036c2
Author: teor <teor at torproject.org>
Date:   Thu Oct 31 00:19:11 2019 +1000

    test: Fix a loop variable bug in test_parseconf.sh
    
    Obviously correct fixes to already reviewed code.
    No changes file required: not in any released version of tor.
---
 src/test/test_parseconf.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/test_parseconf.sh b/src/test/test_parseconf.sh
index d46be5e5c..3edb5032e 100755
--- a/src/test/test_parseconf.sh
+++ b/src/test/test_parseconf.sh
@@ -151,6 +151,8 @@ for dir in "${EXAMPLEDIR}"/*; do
         CMDLINE=""
     fi
 
+    EXPECTED=
+    ERROR=
     # If tor has some modules disabled, search for a custom result file for
     # the disabled modules
     for suffix in "_no_$TOR_MODULES_DISABLED" ""; do



More information about the tor-commits mailing list