projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MI output to the metadata regenerate command
[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 da1e6c6c3ac1dfa20be923316c6f1f4e7820dcff..11563985c838fdc08c5552e8cb9b4f7541eccb75 100755
(executable)
--- a/
tests/regression/tools/save-load/test_load
+++ b/
tests/regression/tools/save-load/test_load
@@
-74,7
+74,7
@@
function test_complex_load()
break;
fi
$TESTDIR/../src/bin/lttng/$LTTNG_BIN --mi XML list $sess -c chan2 > $mi_output_file
break;
fi
$TESTDIR/../src/bin/lttng/$LTTNG_BIN --mi XML list $sess -c chan2 > $mi_output_file
- mi_result=$($CURDIR/../mi/extract_xml $mi_output_file "//
command/output/sessions/session/domains/domain/channels/channel[name='chan2']/events/event[name='uevent_disabled']/
enabled/text()")
+ mi_result=$($CURDIR/../mi/extract_xml $mi_output_file "//
lttng:command/lttng:output/lttng:sessions/lttng:session/lttng:domains/lttng:domain/lttng:channels/lttng:channel[lttng:name='chan2']/lttng:events/lttng:event[lttng:name='uevent_disabled']/lttng:
enabled/text()")
if [[ $mi_result = "false" ]]; then
ok 0 "Disabled event is loaded in disabled state"
else
if [[ $mi_result = "false" ]]; then
ok 0 "Disabled event is loaded in disabled state"
else
@@
-126,7
+126,7
@@
function test_trackers()
break;
fi
$TESTDIR/../src/bin/lttng/$LTTNG_BIN --mi XML list "$SESSION_NAME-trackers" > $mi_output_file
break;
fi
$TESTDIR/../src/bin/lttng/$LTTNG_BIN --mi XML list "$SESSION_NAME-trackers" > $mi_output_file
- mi_result=$($CURDIR/../mi/extract_xml -e $mi_output_file "//
command/output/sessions/session/domains/domain/trackers/pid_tracker/targets/
pid_target")
+ mi_result=$($CURDIR/../mi/extract_xml -e $mi_output_file "//
lttng:command/lttng:output/lttng:sessions/lttng:session/lttng:domains/lttng:domain/lttng:trackers/lttng:pid_tracker/lttng:targets/lttng:
pid_target")
if [[ $mi_result = "true" ]]; then
ok 0 "Pid target is present"
else
if [[ $mi_result = "true" ]]; then
ok 0 "Pid target is present"
else
This page took
0.024164 seconds
and
4
git commands to generate.