projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test fix: LTTNG_SESSION_CONFIG_XSD_PATH expects an absolute path
[lttng-tools.git]
/
tests
/
regression
/
tools
/
save-load
/
test_load
diff --git
a/tests/regression/tools/save-load/test_load
b/tests/regression/tools/save-load/test_load
index 6cc98a0c5d61214df449f960faff2f6297a4ddf9..4ae04c74a162b94dd489c1a846ffe53034473adb 100755
(executable)
--- a/
tests/regression/tools/save-load/test_load
+++ b/
tests/regression/tools/save-load/test_load
@@
-22,6
+22,7
@@
TESTDIR=$CURDIR/../../../
SESSIOND_BIN="lttng-sessiond"
RELAYD_BIN="lttng-relayd"
LTTNG_BIN="lttng"
SESSIOND_BIN="lttng-sessiond"
RELAYD_BIN="lttng-relayd"
LTTNG_BIN="lttng"
+export LTTNG_SESSION_CONFIG_XSD_PATH=$(readlink -m ${TESTDIR}../src/common/config/)
SESSION_NAME="load-42"
EVENT_NAME="tp:tptest"
SESSION_NAME="load-42"
EVENT_NAME="tp:tptest"
@@
-51,7
+52,7
@@
function test_basic_load()
{
diag "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
}
destroy_lttng_session $SESSION_NAME
}
@@
-65,7
+66,7
@@
function test_complex_load()
# custom values.
start_lttng_relayd "-C tcp://localhost:8172 -D tcp://localhost:9817"
# 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
# Once loaded, we are suppose to be able to disable certain events/channels
# thus having a confirmation that it's valid
@@
-102,7
+103,7
@@
function test_overwrite()
{
diag "Test load 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"
# This one should succeed
lttng_load "-f -i $CURDIR $SESSION_NAME"
This page took
0.025052 seconds
and
4
git commands to generate.