change options for numerical comparision

use directory test option for cpufreq test and add warning message
for hotplug 07 test

Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
diff --git a/thermal/thermal_06.sh b/thermal/thermal_06.sh
index 2cb263f..92c987a 100755
--- a/thermal/thermal_06.sh
+++ b/thermal/thermal_06.sh
@@ -38,7 +38,7 @@
 cpu_pid=0
 
 heater_kill() {
-    if [ $cpu_pid != 0 ]; then
+    if [ $cpu_pid -ne 0 ]; then
 	kill -9 $cpu_pid
     fi
     kill_glmark2