Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nick Mathewson
Tor
Commits
0a824bd8
Commit
0a824bd8
authored
Oct 31, 2018
by
Nick Mathewson
🐻
Browse files
Merge remote-tracking branch 'tor-github/pr/436' into maint-0.2.9
parents
0878bb96
93965777
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/bug27948
0 → 100644
View file @
0a824bd8
o Minor bugfixes (tests):
- Treat backtrace test failures as expected on BSD-derived systems
(NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
(FreeBSD failures have been treated as expected since 18204 in 0.2.8.)
Fixes bug 27948; bugfix on 0.2.5.2-alpha.
src/test/bt_test.py
View file @
0a824bd8
...
@@ -44,10 +44,12 @@ print("BAD")
...
@@ -44,10 +44,12 @@ print("BAD")
for
l
in
LINES
:
for
l
in
LINES
:
print
(
"{}"
.
format
(
l
),
end
=
""
)
print
(
"{}"
.
format
(
l
),
end
=
""
)
if
sys
.
platform
.
startswith
(
'freebsd'
):
if
(
sys
.
platform
.
startswith
(
'freebsd'
)
or
sys
.
platform
.
startswith
(
'netbsd'
)
or
# See bug #17808 if you know how to fix this.
sys
.
platform
.
startswith
(
'openbsd'
)
or
sys
.
platform
.
startswith
(
'darwin'
)):
print
(
"Test failed; but FreeBSD is known to have backtrace problems.
\n
"
# See bug #17808 if you know how to fix backtraces on BSD-derived systems
"Treating as 'SKIP'."
)
print
(
"Test failed; but {} is known to have backtrace problems."
.
format
(
sys
.
platform
))
print
(
"Treating as 'SKIP'."
)
sys
.
exit
(
77
)
sys
.
exit
(
77
)
sys
.
exit
(
1
)
sys
.
exit
(
1
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment