Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
0b27639e
Commit
0b27639e
authored
Nov 15, 2010
by
Pieter Noordhuis
Browse files
Don't print when testing can continue
parent
a5acb589
Changes
1
Show whitespace changes
Inline
Side-by-side
test.c
View file @
0b27639e
...
...
@@ -91,12 +91,9 @@ static void test_blocking_connection() {
/* Make sure the DB is emtpy */
reply
=
redisCommand
(
c
,
"DBSIZE"
);
if
(
reply
->
type
!=
REDIS_REPLY_INTEGER
||
reply
->
integer
!=
0
)
{
printf
(
"Sorry DB 9 is not empty, test can not continue
\n
"
);
if
(
reply
->
type
!=
REDIS_REPLY_INTEGER
||
reply
->
integer
!=
0
)
{
printf
(
"Database #9 is not empty, test can not continue
\n
"
);
exit
(
1
);
}
else
{
printf
(
"DB 9 is empty... test can continue
\n
"
);
}
freeReplyObject
(
reply
);
...
...
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