OSDN Git Service

selftests: intel_pstate: notification about privilege required to run intel_pstate...
authorJeffrin Jose T <ahiliation@gmail.com>
Wed, 30 May 2018 22:03:39 +0000 (03:33 +0530)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Thu, 31 May 2018 03:31:31 +0000 (21:31 -0600)
commit9070ee31ab106464e0d89019a9c4df787179bf3e
tree10fc9888f867c26481b8858ae5691060fe146004
parent5f8f019380b86f4e84445c2f2f8533de9c91fbe6
selftests: intel_pstate: notification about privilege required to run intel_pstate testing script

The intel_pstate related testing script need root level privileges
when trying to access certain file for the successful execution of
the script.But this is not the case always like when using evaluation
only mode, which only require user level privilege.

This patch is to notify the user about the privilege the script
demands for the successful execution of the test.

Signed-off-by: Jeffrin Jose T (Rajagiri SET) <ahiliation@gmail.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/intel_pstate/run.sh