From: David Goulet Date: Wed, 26 Mar 2014 15:31:36 +0000 (-0400) Subject: Fix: update test to use correct lttng load option X-Git-Tag: v2.5.0-rc1~84 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=83b7c3bf7a5c28883396af5dadd6ee469f20aa59;p=lttng-tools.git Fix: update test to use correct lttng load option Signed-off-by: David Goulet --- diff --git a/tests/regression/tools/save-load/test_load b/tests/regression/tools/save-load/test_load index 6cc98a0c5..d660878a7 100755 --- a/tests/regression/tools/save-load/test_load +++ b/tests/regression/tools/save-load/test_load @@ -51,7 +51,7 @@ function test_basic_load() { diag "Test basic load" - lttng_load "$SESSION_NAME -i $CURDIR" + lttng_load "-i $CURDIR/$SESSION_NAME.lttng" 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 "$sess -i $CURDIR" + lttng_load "-i $CURDIR/$sess.lttng" # Once loaded, we are suppose to be able to disable certain events/channels # thus having a confirmation that it's valid @@ -102,7 +102,7 @@ function test_overwrite() { diag "Test load overwrite" - lttng_load "$SESSION_NAME -i $CURDIR" + lttng_load "-i $CURDIR/$SESSION_NAME.lttng" # This one should succeed lttng_load "-f -i $CURDIR $SESSION_NAME"