Capture all skip tests which require root permissions

This commit is contained in:
mboelen 2014-09-08 15:13:14 +02:00
parent 5c4c0f0ac0
commit ac54b4fe83
1 changed files with 1 additions and 0 deletions

View File

@ -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