commit | 837c564ff68256a70969afd43fe154241f760314 | [log] [tgz] |
---|---|---|
author | Li Zhijian <lizhijian@cn.fujitsu.com> | Tue Oct 17 11:02:21 2017 +0800 |
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | Wed Oct 18 11:49:52 2017 -0700 |
tree | 001e7db27aa9332e05f07f6366e3a6fa90a3e2ea | |
parent | 9b626ef66f3375dfefd630c6f082ba5fb89cf3c9 [diff] |
thermal: add missing get_os before check the return value 'ps' have different output between Android and ubuntu, and test suite use get_os to determine which OS the scripts are running on. at commit 84479a38, thermal: Get correct PID for heat_cpu based on OS this patch want to get PID based on OS, but it looks thermal_06.sh forget to add get_os before checking the OS. Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>