aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Daniel Kachhap <amit.kachhap@linaro.org>2012-05-05 15:18:29 +0530
committerzhanghongbo <hongbo.zhang@stericsson.com>2012-05-09 15:33:10 +0800
commit23b5694a35382d54bf0f925576b57f5560d4d62a (patch)
tree3a5a52b4ec9f8a3f1e3b59d5ef6b9aca99e51ba8
parent58b807b70ca6b685e7ed800a2a3ec6350040d459 (diff)
Fix: check binding test cases failing and some common improvement
Signed-off-by: eduardo.valentin@ti.com Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
-rw-r--r--include/thermal_functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh
index 692529c..5b60698 100644
--- a/include/thermal_functions.sh
+++ b/include/thermal_functions.sh
@@ -124,7 +124,7 @@ check_valid_binding() {
shift 2
log_begin "checking $descr"
- if [ $trip_point > $trip_point_max ]; then
+ if [ $trip_point_val -ge $trip_point_max ]; then
log_end "fail"
return 1
fi