projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: add check_skip_kernel_test to check root user and lttng kernel modules
[lttng-tools.git]
/
tests
/
regression
/
ust
/
test_event_perf
diff --git
a/tests/regression/ust/test_event_perf
b/tests/regression/ust/test_event_perf
index 9b2de4de28817651272c047d59087fa31ff61b09..127cdb0b7f25304257567a7c26995ba127fbf54c 100755
(executable)
--- a/
tests/regression/ust/test_event_perf
+++ b/
tests/regression/ust/test_event_perf
@@
-121,17
+121,11
@@
print_test_banner "$TEST_DESC"
bail_out_if_no_babeltrace
bail_out_if_no_babeltrace
-if [ "$(id -u)" == "0" ]; then
- isroot=1
-else
- isroot=0
-fi
-
start_lttng_sessiond
test_parsing_raw
start_lttng_sessiond
test_parsing_raw
-
skip $isroot "Root access is needed. Skipping UST perf tests." 8
||
+
check_skip_kernel_test 8 "Skipping UST perf tests."
||
{
test_event_basic
}
{
test_event_basic
}
This page took
0.025184 seconds
and
4
git commands to generate.