summaryrefslogtreecommitdiff
path: root/io-tool
diff options
context:
space:
mode:
Diffstat (limited to 'io-tool')
-rwxr-xr-xio-tool/sysfs-tests16
1 files changed, 9 insertions, 7 deletions
diff --git a/io-tool/sysfs-tests b/io-tool/sysfs-tests
index 7b07955..3c55a3d 100755
--- a/io-tool/sysfs-tests
+++ b/io-tool/sysfs-tests
@@ -100,7 +100,7 @@ echo none > /sys/devices/platform/leds-gpio/leds/status/trigger
modprobe -r mts-io
modprobe mts-io
-sleep 2
+sleep 3
show_assert_in_set board-temperature {30..40}
store board-temperature 1000
@@ -169,13 +169,15 @@ show_assert led-sdk-b 0
store_assert led-sdk-b 1
store_assert led-sdk-b 0
-show_assert led-status 0
-store_assert led-status 1
-store_assert led-status 0
+if [ "${MTS_IO_CONTROLS_STATUS_LED}" = "true" ]; then
+ show_assert led-status 0
+ store_assert led-status 1
+ store_assert led-status 0
-show_assert led-sdk-a 0
-store_assert led-sdk-a 1
-store_assert led-sdk-a 0
+ show_assert led-sdk-a 0
+ store_assert led-sdk-a 1
+ store_assert led-sdk-a 0
+fi
show_assert reset 0
store reset 1