Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
0e6e1fcc
Commit
0e6e1fcc
authored
7 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "tests: Fix warnings found on Mac."
parents
56d85fd2
75cb4037
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
tests/test_logger.c
+2
-2
2 additions, 2 deletions
tests/test_logger.c
tests/test_pbx.c
+2
-0
2 additions, 0 deletions
tests/test_pbx.c
with
4 additions
and
2 deletions
tests/test_logger.c
+
2
−
2
View file @
0e6e1fcc
...
...
@@ -190,7 +190,7 @@ static char *handle_cli_performance_test(struct ast_cli_entry *e, int cmd, struc
static
char
*
handle_cli_queue_test
(
struct
ast_cli_entry
*
e
,
int
cmd
,
struct
ast_cli_args
*
a
)
{
unsigned
int
level
;
int
level
;
int
current_queue_limit
;
unsigned
int
x
;
struct
timeval
start
,
end
;
...
...
@@ -220,7 +220,7 @@ static char *handle_cli_queue_test(struct ast_cli_entry *e, int cmd, struct ast_
ast_cli
(
a
->
fd
,
"Test: Failed, could not register level 'queuetest'.
\n
"
);
return
CLI_SUCCESS
;
}
ast_cli
(
a
->
fd
,
"Test: got level %
u
for 'queuetest'.
\n
"
,
level
);
ast_cli
(
a
->
fd
,
"Test: got level %
d
for 'queuetest'.
\n
"
,
level
);
if
(
ast_logger_create_channel
(
tmppath
,
"queuetest"
)
!=
AST_LOGGER_SUCCESS
)
{
ast_cli
(
a
->
fd
,
"Test: Unable to create logger channel '%s'
\n
"
,
tmppath
);
...
...
This diff is collapsed.
Click to expand it.
tests/test_pbx.c
+
2
−
0
View file @
0e6e1fcc
...
...
@@ -37,6 +37,8 @@
#include
"asterisk/pbx.h"
#include
"asterisk/test.h"
#include
<signal.h>
/*!
* If we determine that we really need
* to be able to register more than 10
...
...
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