[chutney/master] unit-tests.sh: Allow unset PYTHONPATH

24 Jun
2020
24 Jun
'20
2:12 p.m.
commit cf9316655ede8727758cdc8beb353fb7a5d20c15 Author: Nick Mathewson <nickm@torproject.org> Date: Wed Jun 24 10:12:16 2020 -0400 unit-tests.sh: Allow unset PYTHONPATH --- tests/unit-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests.sh b/tests/unit-tests.sh index 82688e6..487d462 100755 --- a/tests/unit-tests.sh +++ b/tests/unit-tests.sh @@ -66,7 +66,7 @@ export LOG_FILE test -n "$LOG_FILE" # Choose an arbitrary port -PYTHONPATH=$PYTHONPATH:lib $PYTHON lib/chutney/Traffic.py 9999 \ +PYTHONPATH="${PYTHONPATH:-}:lib" $PYTHON lib/chutney/Traffic.py 9999 \ | tee "$LOG_FILE" # Traffic.py produces output with a single newline. But we don't want to get
1817
Age (days ago)
1817
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org