projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clock offset: print negative value in metadata for lttng-ust metadata
[lttng-tools.git]
/
tests
/
regression
/
kernel
/
test_all_events
diff --git
a/tests/regression/kernel/test_all_events
b/tests/regression/kernel/test_all_events
index 48627481b51025c5d62c50790f0bd0aa6f169c51..50002f4d9be984e174d966b6a303bad14b2fcb22 100755
(executable)
--- a/
tests/regression/kernel/test_all_events
+++ b/
tests/regression/kernel/test_all_events
@@
-23,23
+23,21
@@
NUM_TESTS=8
source $TESTDIR/utils/utils.sh
source $TESTDIR/utils/utils.sh
-print_test_banner "$TEST_DESC"
-
function test_all_event()
{
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_all_events_basic"
function test_all_event()
{
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_all_events_basic"
- create_lttng_session $SESSION_NAME $TRACE_PATH
+ create_lttng_session
_ok
$SESSION_NAME $TRACE_PATH
lttng_enable_kernel_event $SESSION_NAME
lttng_enable_kernel_event $SESSION_NAME
- start_lttng_tracing
- stop_lttng_tracing
+ start_lttng_tracing
_ok
+ stop_lttng_tracing
_ok
validate_trace "sched_switch" $TRACE_PATH
validate_trace "sched_switch" $TRACE_PATH
- destroy_lttng_session $SESSION_NAME
+ destroy_lttng_session
_ok
$SESSION_NAME
rm -rf $TRACE_PATH
}
rm -rf $TRACE_PATH
}
@@
-47,6
+45,8
@@
function test_all_event()
# MUST set TESTDIR before calling those functions
plan_tests $NUM_TESTS
# MUST set TESTDIR before calling those functions
plan_tests $NUM_TESTS
+print_test_banner "$TEST_DESC"
+
if [ "$(id -u)" == "0" ]; then
isroot=1
else
if [ "$(id -u)" == "0" ]; then
isroot=1
else
This page took
0.023213 seconds
and
4
git commands to generate.