Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
73d2fb8a
Commit
73d2fb8a
authored
Aug 02, 2019
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change '--port' to '-p' in memcache test adapting to older version
parent
25a70b8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
brpc_memcache_unittest.cpp
test/brpc_memcache_unittest.cpp
+1
-1
No files found.
test/brpc_memcache_unittest.cpp
View file @
73d2fb8a
...
@@ -76,7 +76,7 @@ static void RunMemcached() {
...
@@ -76,7 +76,7 @@ static void RunMemcached() {
}
else
if
(
g_mc_pid
==
0
)
{
}
else
if
(
g_mc_pid
==
0
)
{
puts
(
"[Starting memcached]"
);
puts
(
"[Starting memcached]"
);
char
*
const
argv
[]
=
{
(
char
*
)
MEMCACHED_BIN
,
char
*
const
argv
[]
=
{
(
char
*
)
MEMCACHED_BIN
,
(
char
*
)
"-
-port
"
,
(
char
*
)
MEMCACHED_PORT
,
(
char
*
)
"-
p
"
,
(
char
*
)
MEMCACHED_PORT
,
NULL
};
NULL
};
if
(
execvp
(
MEMCACHED_BIN
,
argv
)
<
0
)
{
if
(
execvp
(
MEMCACHED_BIN
,
argv
)
<
0
)
{
puts
(
"Fail to run "
MEMCACHED_BIN
);
puts
(
"Fail to run "
MEMCACHED_BIN
);
...
...
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