projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: wait output hide Terminate errors
[lttng-tools.git]
/
tests
/
regression
/
tools
/
mi
/
test_mi
diff --git
a/tests/regression/tools/mi/test_mi
b/tests/regression/tools/mi/test_mi
index b70450e331ff0b22019bab679ae45e3b65bb6259..e690822b5661ad3938c3ba43fe6ec3cdbc8fdc07 100755
(executable)
--- a/
tests/regression/tools/mi/test_mi
+++ b/
tests/regression/tools/mi/test_mi
@@
-32,6
+32,7
@@
NR_USEC_WAIT=10000
#Temp file output
OUTPUT_DIR=$(mktemp -d)
#Temp file output
OUTPUT_DIR=$(mktemp -d)
+FOO_LOAD_DIR=$(mktemp -d)
OUTPUT_FILE="default.xml"
#Path to custom xml utilities
OUTPUT_FILE="default.xml"
#Path to custom xml utilities
@@
-522,9
+523,8
@@
function test_list_ust_event ()
test "$num" -eq "12"
ok $? "Mi test: $num / 12 ust event fields discovered"
test "$num" -eq "12"
ok $? "Mi test: $num / 12 ust event fields discovered"
- #Wait for last forked process
- wait $!
-
+ #Wait for all background processes
+ wait
}
function test_start_stop () {
}
function test_start_stop () {
@@
-602,7
+602,6
@@
function test_start_stop () {
#Teardown
OUTPUT_DEST=$DEVNULL
destroy_lttng_sessions
#Teardown
OUTPUT_DEST=$DEVNULL
destroy_lttng_sessions
-
}
function test_snapshot () {
}
function test_snapshot () {
@@
-683,7
+682,7
@@
function test_snapshot () {
destroy_lttng_sessions
}
destroy_lttng_sessions
}
-start_lttng_sessiond
+start_lttng_sessiond
$FOO_LOAD_DIR
TESTS=(
test_version
test_create_session
TESTS=(
test_version
test_create_session
This page took
0.031215 seconds
and
5
git commands to generate.