diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-28 09:37:11 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-28 09:37:11 -0400 |
commit | 72a35ac5581b208a7f89f751fb3574508f55952e (patch) | |
tree | 0ee205b4a611ce6c026a8343f297684f34b9f02d /pts/test-resources/compliance-sensors/install.sh | |
parent | b33b604547d1157c2a958dc95f37d47cdf9f9639 (diff) | |
download | phoronix-test-suite-upstream-72a35ac5581b208a7f89f751fb3574508f55952e.tar.gz phoronix-test-suite-upstream-72a35ac5581b208a7f89f751fb3574508f55952e.tar.xz phoronix-test-suite-upstream-72a35ac5581b208a7f89f751fb3574508f55952e.zip |
compliance-sensors fix
Diffstat (limited to 'pts/test-resources/compliance-sensors/install.sh')
-rw-r--r-- | pts/test-resources/compliance-sensors/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts/test-resources/compliance-sensors/install.sh b/pts/test-resources/compliance-sensors/install.sh index ae1d93f..4ef8919 100644 --- a/pts/test-resources/compliance-sensors/install.sh +++ b/pts/test-resources/compliance-sensors/install.sh @@ -33,7 +33,7 @@ array_push($sensors, read_sensors("Sys Temp")); foreach($sensors as $single_sensor) { - if(is_numeric($sensors) && $sensors > 1) + if(is_numeric($single_sensor) && $single_sensor > 1) array_push($sensor_results, "PASS"); else array_push($sensor_results, "FAIL"); |