commit | a7da520f1da63d7c001ae6f38f9b79ba682bdaa6 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Fri Aug 05 15:01:42 2011 +0200 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Fri Aug 05 15:01:42 2011 +0200 |
tree | 9751a4ac31ab206c0b357e764eab50619509ebef | |
parent | 4340e0fa4aece510064f3876770cd81ba4a744bd [diff] [blame] |
test_01 : test sched_mc file presence Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
diff --git a/include/functions.sh b/include/functions.sh index 67c356a..e01d0dc 100644 --- a/include/functions.sh +++ b/include/functions.sh
@@ -197,6 +197,17 @@ return 0 } +check_sched_mc_files() { + + local dirpath=$CPU_PATH + + for i in $@; do + check "$i exists" "test -f" $dirpath/$i || return 1 + done + + return 0 +} + save_governors() { governors_backup=