projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: unbalanced ustconsumer32_data.pid_mutex lock
[lttng-tools.git]
/
tests
/
unit
/
test_uri.c
diff --git
a/tests/unit/test_uri.c
b/tests/unit/test_uri.c
index ba0baf9b6e03b0f1f84ef4d763751b3943a7aa95..7cac95d98e099a567a9a2f2f68bf0697ef688b5e 100644
(file)
--- a/
tests/unit/test_uri.c
+++ b/
tests/unit/test_uri.c
@@
-22,7
+22,7
@@
#include <common/uri.h>
#include <common/uri.h>
-/* For
lttnger
r.h */
+/* For
erro
r.h */
int lttng_opt_quiet = 1;
int lttng_opt_verbose = 3;
int lttng_opt_quiet = 1;
int lttng_opt_verbose = 3;
@@
-189,10
+189,12
@@
void test_uri_parsing(void)
s_uri1 = "file/my/test/path";
size = uri_parse(s_uri1, &uri);
ok(size == -1, "Bad URI set to file/my/test/path");
s_uri1 = "file/my/test/path";
size = uri_parse(s_uri1, &uri);
ok(size == -1, "Bad URI set to file/my/test/path");
+ assert(!uri);
s_uri1 = "net://:8999";
size = uri_parse(s_uri1, &uri);
ok(size == -1, "Bad URI set to net://:8999");
s_uri1 = "net://:8999";
size = uri_parse(s_uri1, &uri);
ok(size == -1, "Bad URI set to net://:8999");
+ assert(!uri);
}
void test_uri_cmp()
}
void test_uri_cmp()
This page took
0.025705 seconds
and
4
git commands to generate.