Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
73def92d
Commit
73def92d
authored
Apr 14, 2016
by
Gautier Pelloux-Prayer
Browse files
tester: fix failing remote provisioning test
parent
6c456f43
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
tester/rcfiles/marie_remote_localfile_rc
tester/rcfiles/marie_remote_localfile_rc
+1
-1
tester/remote_provisioning_tester.c
tester/remote_provisioning_tester.c
+11
-1
tester/tester.c
tester/tester.c
+1
-1
No files found.
tester/rcfiles/marie_remote_localfile_rc
View file @
73def92d
[misc]
config-uri=file://
./rcfiles/
marie_remote_localfile2_rc
config-uri=file://marie_remote_localfile2_rc
tester/remote_provisioning_tester.c
View file @
73def92d
...
...
@@ -113,7 +113,17 @@ static void remote_provisioning_file(void) {
#elif defined(LINPHONE_WINDOWS_UNIVERSAL)
marie
=
linphone_core_manager_new2
(
"marie_remote_localfile_win10_rc"
,
FALSE
);
#else
marie
=
linphone_core_manager_new2
(
"marie_remote_localfile_rc"
,
FALSE
);
marie
=
ms_new0
(
LinphoneCoreManager
,
1
);
linphone_core_manager_init
(
marie
,
"marie_remote_localfile_rc"
);
// fix relative path to absolute path
{
char
*
path
=
bc_tester_res
(
"rcfiles/marie_remote_localfile2_rc"
);
char
*
abspath
=
ms_strdup_printf
(
"file://%s"
,
path
);
lp_config_set_string
(
marie
->
lc
->
config
,
"misc"
,
"config-uri"
,
abspath
);
linphone_core_manager_start
(
marie
,
1
);
ms_free
(
path
);
ms_free
(
abspath
);
}
#endif
BC_ASSERT_TRUE
(
wait_for
(
marie
->
lc
,
NULL
,
&
marie
->
stat
.
number_of_LinphoneConfiguringSuccessful
,
1
));
...
...
tester/tester.c
View file @
73def92d
...
...
@@ -385,7 +385,7 @@ LinphoneCoreManager* linphone_core_manager_new( const char* rc_file) {
return
manager
;
}
LinphoneCoreManager
*
linphone_core_manager_new2
(
const
char
*
rc_file
,
int
check_for_proxies
)
{
LinphoneCoreManager
*
linphone_core_manager_new2
(
const
char
*
rc_file
,
int
check_for_proxies
)
{
LinphoneCoreManager
*
manager
=
ms_new0
(
LinphoneCoreManager
,
1
);
linphone_core_manager_init
(
manager
,
rc_file
);
linphone_core_manager_start
(
manager
,
check_for_proxies
);
...
...
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