projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Network streaming support
[lttng-tools.git]
/
tests
/
tools
/
test_sessions.c
diff --git
a/tests/tools/test_sessions.c
b/tests/tools/test_sessions.c
index e55593561891d2827ba8cb8761e188e31c1d3e92..ce716e8c1a70c85dddda2f3a749be7b65f4b0d82 100644
(file)
--- a/
tests/tools/test_sessions.c
+++ b/
tests/tools/test_sessions.c
@@
-221,6
+221,7
@@
static int fuzzing_destroy_args(void)
static int two_session_same_name(void)
{
int ret;
static int two_session_same_name(void)
{
int ret;
+ struct ltt_session *sess;
ret = create_one_session(SESSION1, PATH1);
if (ret < 0) {
ret = create_one_session(SESSION1, PATH1);
if (ret < 0) {
@@
-228,8
+229,8
@@
static int two_session_same_name(void)
return -1;
}
return -1;
}
-
ret = create_one_session(SESSION1, PATH
1);
- if (
ret < 0
) {
+
sess = session_find_by_name(SESSION
1);
+ if (
sess
) {
/* Success */
return 0;
}
/* Success */
return 0;
}
This page took
0.024706 seconds
and
4
git commands to generate.