aboutsummaryrefslogtreecommitdiff
path: root/cpufreq/cpufreq_09.sh
diff options
context:
space:
mode:
authorSanjay Singh Rawat <sanjay.rawat@linaro.org>2014-01-29 12:15:02 +0530
committerSanjay Singh Rawat <sanjay.rawat@linaro.org>2014-02-20 11:41:06 +0530
commit736aef65e8b9200a4974ed8df8bedeb0adf62217 (patch)
tree4059c8ca941e130eaa6f51e1ea6f59f8e82a8942 /cpufreq/cpufreq_09.sh
parentd5963e55e84ba19740993e177b463a31e2dd8859 (diff)
test feature supported before running suite
add a basic sanity file which will check for feature support and will proceed only if feature supported Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Diffstat (limited to 'cpufreq/cpufreq_09.sh')
-rwxr-xr-xcpufreq/cpufreq_09.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpufreq/cpufreq_09.sh b/cpufreq/cpufreq_09.sh
index 08b7cb1..7b65eec 100755
--- a/cpufreq/cpufreq_09.sh
+++ b/cpufreq/cpufreq_09.sh
@@ -62,12 +62,6 @@ check_powersave() {
save_governors
-is_root
-if [ $? -ne 0 ]; then
- log_skip "user is not root"
- exit 0
-fi
-
supported=$(cat $CPU_PATH/cpu0/cpufreq/scaling_available_governors | grep "powersave")
if [ -z "$supported" ]; then
log_skip "powersave not supported"