Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-09-08 17:13:14 +0400
committermboelen <michael@cisofy.com>2014-09-08 17:13:14 +0400
commitac54b4fe8369c699c5afb9c7893f5be9cb67edd6 (patch)
tree52da4f0aeb59ac599796e4a151528625f6f710b2 /include
parent5c4c0f0ac0bac76d409d10bdf0fbc14d60bbb416 (diff)
Capture all skip tests which require root permissions
Diffstat (limited to 'include')
-rw-r--r--include/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions b/include/functions
index a597076e..a8955f56 100644
--- a/include/functions
+++ b/include/functions
@@ -752,6 +752,7 @@
if [ ${ROOT_ONLY} -eq 1 -a ! ${MYID} = "0" ]; then
SKIPTEST=1; SKIPREASON="This test needs root permissions"
Debug "Test ${TEST_NO} skipped as this one required root permissions to work"
+ SKIPPED_TESTS_ROOTONLY="${SKIPPED_TESTS_ROOTONLY}====${TEST_NO}-${TEST_DESCRIPTION}"
fi
# Skip test if it's configured in profile