Refactor: test: wrapper for destroy_lttng_session
[lttng-tools.git] / tests / regression / tools / save-load / test_load
index 6b892cfdc4e05bb02b2ced8fdd241d76842fc3f3..c6234efe1fce443e6f7573079db2f7e05b954983 100755 (executable)
@@ -54,7 +54,7 @@ function test_basic_load()
 
        lttng_load "-i $CURDIR/$SESSION_NAME.lttng"
 
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 }
 
 function test_complex_load()
@@ -90,7 +90,7 @@ function test_complex_load()
        else
            fail "Disabled event is loaded in disabled state"
        fi
-       destroy_lttng_session $sess
+       destroy_lttng_session_ok $sess
 
        stop_lttng_relayd_nocheck
 }
@@ -105,8 +105,8 @@ function test_all_load()
 
        lttng_load "-a -i $CURDIR"
 
-       destroy_lttng_session $SESSION_NAME
-       destroy_lttng_session "$SESSION_NAME-complex"
+       destroy_lttng_session_ok $SESSION_NAME
+       destroy_lttng_session_ok "$SESSION_NAME-complex"
 
        stop_lttng_relayd_nocheck
 }
@@ -120,7 +120,7 @@ function test_overwrite()
        # This one should succeed
        lttng_load "-f -i $CURDIR $SESSION_NAME"
 
-       destroy_lttng_session $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME
 }
 
 start_lttng_sessiond
This page took 0.023737 seconds and 4 git commands to generate.