#Temp file output
OUTPUT_DIR=$(mktemp -d)
+FOO_LOAD_DIR=$(mktemp -d)
OUTPUT_FILE="default.xml"
#Path to custom xml utilities
#Overwrite the lttng_bin to get mi output
LTTNG_BIN="lttng --mi xml"
-#Global devlaration for simplification
+#Global declaration for simplification
LTTNG=$TESTDIR/../src/bin/lttng/$LTTNG_BIN
#Overwrite the default output for utils.sh command
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 () {
#Teardown
OUTPUT_DEST=$DEVNULL
destroy_lttng_sessions
-
}
function test_snapshot () {
destroy_lttng_sessions
}
-start_lttng_sessiond
+start_lttng_sessiond $FOO_LOAD_DIR
TESTS=(
test_version
test_create_session