projects
/
deliverable
/
lttng-ivc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Base framework and liblttng-ust-ctl test
[deliverable/lttng-ivc.git]
/
lttng_ivc
/
utils
/
skip.py
diff --git a/lttng_ivc/utils/skip.py
b/lttng_ivc/utils/skip.py
new file mode 100644
(file)
index 0000000..
10f92d3
--- /dev/null
+++ b/
lttng_ivc/utils/skip.py
@@ -0,0
+1,4
@@
+import os
+import pytest
+
+root = pytest.mark.skipif(os.geteuid() != 0, reason="Must be run as root")
This page took
0.023925 seconds
and
5
git commands to generate.