Prepare for '-Wunused-parameter'
[lttng-tools.git] / tests / regression / tools / snapshots / test_kernel
index d77ed220adb6cd289557b98d9f7916168b637336..f1015ee25c938be9d557c2cf27e46fee7ac2276f 100755 (executable)
@@ -56,8 +56,6 @@ function test_kernel_local_snapshot_after_stop ()
        if [ $? -eq 0 ]; then
                # Only delete if successful
                rm -rf $TRACE_PATH
-       else
-               break
        fi
 }
 
@@ -79,8 +77,6 @@ function test_kernel_local_snapshot_append_to_metadata ()
        if [ $? -eq 0 ]; then
                # Only delete if successful
                rm -rf $TRACE_PATH
-       else
-               break
        fi
 
        diag "Adding event $EVENT2"
@@ -92,8 +88,6 @@ function test_kernel_local_snapshot_append_to_metadata ()
        if [ $? -eq 0 ]; then
                # Only delete if successful
                rm -rf $TRACE_PATH
-       else
-               break
        fi
 
        stop_lttng_tracing_ok $SESSION_NAME
@@ -129,6 +123,7 @@ function test_kernel_local_snapshot_discard ()
 
        rm -rf $TRACE_PATH
 
+       # Fill CPU 0's buffer and overwrite previous contents
        generate_filter_events_cpu0 10000
 
        # Take 2nd snapshot, compare first line. In discard mode, they
@@ -172,6 +167,7 @@ function test_kernel_local_snapshot_overwrite_small_buffers ()
 
        rm -rf $TRACE_PATH
 
+       # Fill CPU 0's buffer and overwrite previous contents
        generate_filter_events_cpu0 10000
 
        # Take 2nd snapshot, compare first line. In overwrite mode, they
This page took 0.02398 seconds and 4 git commands to generate.