Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
63e08f56
Commit
63e08f56
authored
6 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'tor-github/pr/365'
parents
b7bd162a
53d8aa13
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/bug27675
+3
-0
3 additions, 0 deletions
changes/bug27675
src/test/test_rebind.py
+6
-2
6 additions, 2 deletions
src/test/test_rebind.py
with
9 additions
and
2 deletions
changes/bug27675
0 → 100644
+
3
−
0
View file @
63e08f56
o Minor bugfixes (testing):
- In test_rebind.py check if Python version is in supported
ranges. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
This diff is collapsed.
Click to expand it.
src/test/test_rebind.py
+
6
−
2
View file @
63e08f56
#!/usr/bin/python3
from
__future__
import
print_function
import
sys
...
...
@@ -37,6 +35,12 @@ def pick_random_port():
return
port
if
sys
.
hexversion
<
0x02070000
:
sys
.
exit
(
"
ERROR: unsupported Python version (should be >= 2.7)
"
)
if
sys
.
hexversion
>
0x03000000
and
sys
.
hexversion
<
0x03010000
:
sys
.
exit
(
"
ERROR: unsupported Python3 version (should be >= 3.1)
"
)
control_port
=
pick_random_port
()
socks_port
=
pick_random_port
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment