Remove -s option from lttng load command
[lttng-tools.git] / tests / regression / tools / save-load / test_load
index a58c29967cc60aa1d22218b8f4076b75f586c475..6cc98a0c5d61214df449f960faff2f6297a4ddf9 100755 (executable)
@@ -51,7 +51,7 @@ function test_basic_load()
 {
        diag "Test basic load"
 
-       lttng_load "-s $SESSION_NAME -i $CURDIR"
+       lttng_load "$SESSION_NAME -i $CURDIR"
 
        destroy_lttng_session $SESSION_NAME
 }
@@ -65,7 +65,7 @@ function test_complex_load()
        # custom values.
        start_lttng_relayd "-C tcp://localhost:8172 -D tcp://localhost:9817"
 
-       lttng_load "-s $sess -i $CURDIR"
+       lttng_load "$sess -i $CURDIR"
 
        # Once loaded, we are suppose to be able to disable certain events/channels
        # thus having a confirmation that it's valid
@@ -102,10 +102,10 @@ function test_overwrite()
 {
        diag "Test load overwrite"
 
-       lttng_load "-s $SESSION_NAME -i $CURDIR"
+       lttng_load "$SESSION_NAME -i $CURDIR"
 
        # This one should succeed
-       lttng_load "-f -s $SESSION_NAME -i $CURDIR"
+       lttng_load "-f -i $CURDIR $SESSION_NAME"
 
        destroy_lttng_session $SESSION_NAME
 }
This page took 0.024445 seconds and 4 git commands to generate.