memset(&connect, 0, sizeof(connect));
connect.major = htobe32(VERSION_MAJOR);
- connect.minor = htobe32(VERSION_MINOR);
+ /* JORAJ: TODO: remove when minor version is updated */
+ connect.minor = htobe32(15);
connect.type = htobe32(LTTNG_VIEWER_CLIENT_COMMAND);
ret_len = lttng_live_send(control_sock, &cmd, sizeof(cmd));
ret = connect_viewer("localhost");
ok(ret == 0, "Connect viewer to relayd");
+ /* JORAJ: TODO: Remove when minor version is updated */
ret = establish_connection();
- ok(ret == 0, "Established connection and version check with %d.%d",
- VERSION_MAJOR, VERSION_MINOR);
+ ok(ret == 0, "Established connection and version check with %d.%d", VERSION_MAJOR, 15);
ret = list_sessions(&session_id);
ok(ret > 0, "List sessions : %d session(s)", ret);