projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: run health test only if root
[lttng-tools.git]
/
tests
/
tools
/
health
/
runall
diff --git
a/tests/tools/health/runall
b/tests/tools/health/runall
index c22e3539cfa64ba9dd522872eafb3e749c7ccc02..65a8ad159bd105719e43b765c372949e0a11e1d5 100755
(executable)
--- a/
tests/tools/health/runall
+++ b/
tests/tools/health/runall
@@
-23,6
+23,11
@@
function start_tests ()
done
}
+if [ "$(id -u)" != "0" ]; then
+ echo -e "Need root for health test."
+ exit 0
+fi
+
start_tests
exit $exit_code
This page took
0.023217 seconds
and
4
git commands to generate.