projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Add a comment in libustctl function tests
[ust.git]
/
tests
/
libustctl_function_tests
/
libustctl_function_tests.c
diff --git
a/tests/libustctl_function_tests/libustctl_function_tests.c
b/tests/libustctl_function_tests/libustctl_function_tests.c
index 7c12695ab2adc579801cd1ef4986dcce82de4211..146199713bd24169f302ad770aa350b4782f2f08 100644
(file)
--- a/
tests/libustctl_function_tests/libustctl_function_tests.c
+++ b/
tests/libustctl_function_tests/libustctl_function_tests.c
@@
-137,6
+137,10
@@
static void ustctl_function_tests(pid_t pid)
tap_ok(!ustctl_destroy_trace(trace, pid), "ustctl_destroy_trace - without ever starting");
tap_ok(!ustctl_destroy_trace(trace, pid), "ustctl_destroy_trace - without ever starting");
+ /*
+ * Activate a non-existent marker, this should be possible as the marker
+ * can be loaded at a later time.
+ */
tap_ok(ustctl_set_marker_state(trace, "ustl", "blar", 1, pid) == 0,
"Enable non-existent marker ustl blar");
tap_ok(ustctl_set_marker_state(trace, "ustl", "blar", 1, pid) == 0,
"Enable non-existent marker ustl blar");
@@
-145,7
+149,7
@@
static void ustctl_function_tests(pid_t pid)
tap_ok(ustctl_set_marker_state(trace, "ust","bar", 1, pid),
"Enable already enabled marker ust/bar");
tap_ok(ustctl_set_marker_state(trace, "ust","bar", 1, pid),
"Enable already enabled marker ust/bar");
- tap_ok(EEXIST == errno,
+ tap_ok(EEXIST == errno,
"Right error code for enabling an already enabled marker");
tap_ok(ustctl_start_trace(trace, pid),
"Right error code for enabling an already enabled marker");
tap_ok(ustctl_start_trace(trace, pid),
This page took
0.02625 seconds
and
4
git commands to generate.