/* For lttngerr.h */
int lttng_opt_quiet = 1;
-int lttng_opt_verbose = 0;
+int lttng_opt_verbose = 3;
/*
* Test string URI and if uri_parse works well.
assert(strcmp(uri[0].dst.ipv4, "42.42.42.42") == 0);
PRINT_OK();
- s_uri1 = "tcp6://fe80::f66d:4ff:fe53:d220/my/test/path";
+ s_uri1 = "tcp6://[fe80::f66d:4ff:fe53:d220]/my/test/path";
fprintf(stdout, " [+] URI set to %s ", s_uri1);
size = uri_parse(s_uri1, &uri);
assert(size == 1);
assert(size == -1);
PRINT_OK();
- s_uri1 = "net://localhost/";
- fprintf(stdout, " [+] Bad URI set to %s ", s_uri1);
- size = uri_parse(s_uri1, &uri);
- assert(size == -1);
- PRINT_OK();
-
return 0;
}