projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52df240
)
Fix: run health test only if root
author
David Goulet
<dgoulet@efficios.com>
Tue, 27 Nov 2012 18:51:45 +0000
(13:51 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 27 Nov 2012 18:51:45 +0000
(13:51 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/tools/health/runall
patch
|
blob
|
blame
|
history
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.025662 seconds
and
4
git commands to generate.