[PATCH PM-QA] thermal/thermal_06.sh: add missing get_os before check the return value

2017-10-15 Thread Li Zhijian
Signed-off-by: Li Zhijian --- thermal/thermal_06.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/thermal/thermal_06.sh b/thermal/thermal_06.sh index d8bcd23..6fdc469 100755 --- a/thermal/thermal_06.sh +++ b/thermal/thermal_06.sh @@ -50,6 +50,7 @@ check_trip_point_change() { trip_type

[PATCH PM-QA v2] thermal/thermal_06.sh: add missing get_os before check the return value

2017-10-16 Thread Li Zhijian
_os before checking the OS. Signed-off-by: Li Zhijian --- thermal/thermal_06.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/thermal/thermal_06.sh b/thermal/thermal_06.sh index d8bcd23..6fdc469 100755 --- a/thermal/thermal_06.sh +++ b/thermal/thermal_06.sh @@ -50,6 +50,7 @@ check_trip_po

[PATCH PM-QA] functions: correct get_os logic

2017-10-16 Thread Li Zhijian
e can know get_os() expect to return 2(means android) if build.prop file exists, but the code does not do that previouslly Signed-off-by: Li Zhijian --- include/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.sh b/include/functions.sh index 10