]> git.lttng.org Git - ust.git/commitdiff
tests: Add a comment in libustctl function tests
authorNils Carlson <nils.carlson@ericsson.com>
Thu, 24 Feb 2011 08:54:28 +0000 (09:54 +0100)
committerNils Carlson <nils.carlson@ericsson.com>
Thu, 24 Feb 2011 08:54:28 +0000 (09:54 +0100)
Add a comment regarding activation of non-existent markers
and fix a trailing whitespace.

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
tests/libustctl_function_tests/libustctl_function_tests.c

index 7c12695ab2adc579801cd1ef4986dcce82de4211..146199713bd24169f302ad770aa350b4782f2f08 100644 (file)
@@ -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");
 
+       /*
+        * 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");
 
@@ -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(EEXIST == errno, 
+       tap_ok(EEXIST == errno,
               "Right error code for enabling an already enabled marker");
 
        tap_ok(ustctl_start_trace(trace, pid),
This page took 0.027402 seconds and 4 git commands to generate.