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
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
09fad922
Unverified
Commit
09fad922
authored
Oct 21, 2016
by
boklm
Browse files
Escape left brace in regex
This removes a deprecation warning in recent versions of perl.
parent
b5bb2ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/TestSuite/BrowserBundleTests.pm
View file @
09fad922
...
...
@@ -652,7 +652,7 @@ sub parse_strace {
$removed_files
{
$
1
}
++
;
delete
$modified_files
{
$
1
}
unless
-
f
$
1
;
}
if
(
$line
=~
m/^\d+ connect\(\d+, {sa_family=AF_INET, sin_port=htons\((\d+)\), sin_addr=inet_addr\("((?:[^"\\]++|\\.)*+)"\)/
)
{
if
(
$line
=~
m/^\d+ connect\(\d+,
\
{sa_family=AF_INET, sin_port=htons\((\d+)\), sin_addr=inet_addr\("((?:[^"\\]++|\\.)*+)"\)/
)
{
$test
->
{
results
}{
connections
}{"
$2:$1
"}
++
;
}
}
...
...
Write
Preview
Markdown
is supported
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