projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relayd: introduce --group-output-by-session
[lttng-tools.git]
/
tests
/
regression
/
tools
/
live
/
live_test.c
diff --git
a/tests/regression/tools/live/live_test.c
b/tests/regression/tools/live/live_test.c
index 8ff97db253652dad50e5f3d08816bba689b7288f..8a884ab6bf68d3b5d8cbc04cfcbfdcf609f70388 100644
(file)
--- a/
tests/regression/tools/live/live_test.c
+++ b/
tests/regression/tools/live/live_test.c
@@
-36,7
+36,6
@@
#include <lttng/lttng.h>
#include <urcu/list.h>
#include <lttng/lttng.h>
#include <urcu/list.h>
-#include <bin/lttng-sessiond/session.h>
#include <common/common.h>
#include <bin/lttng-relayd/lttng-viewer-abi.h>
#include <common/common.h>
#include <bin/lttng-relayd/lttng-viewer-abi.h>
@@
-694,6
+693,9
@@
int main(int argc, char **argv)
ret = list_sessions(&session_id);
ok(ret > 0, "List sessions : %d session(s)", ret);
ret = list_sessions(&session_id);
ok(ret > 0, "List sessions : %d session(s)", ret);
+ if (ret < 0) {
+ goto end;
+ }
ret = create_viewer_session();
ok(ret == 0, "Create viewer session");
ret = create_viewer_session();
ok(ret == 0, "Create viewer session");
@@
-722,6
+724,6
@@
int main(int argc, char **argv)
ret = attach_session(session_id);
ok(ret > 0, "Attach to session, %d streams received", ret);
ret = attach_session(session_id);
ok(ret > 0, "Attach to session, %d streams received", ret);
-
+end:
return exit_status();
}
return exit_status();
}
This page took
0.023531 seconds
and
4
git commands to generate.