summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-11-27 01:55:42 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-11-27 01:55:42 +0100
commit66b88b615cb5b1f483eb86d4623a5df0bbb2c1bf (patch)
treeef95d78698c78d4aa8078b050c7470f10973fb4a /tests
parent8c7f8bcccbbb8cdd75aaa2f5084f7667f4279ea8 (diff)
tests/sysfs_edit_reader: posixify
Debian's default sh complains ... Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sysfs_edid_timing2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sysfs_edid_timing b/tests/sysfs_edid_timing
index 22340cba..3a8c6c0e 100755
--- a/tests/sysfs_edid_timing
+++ b/tests/sysfs_edid_timing
@@ -10,7 +10,7 @@ cat $(find /sys/devices/|grep drm | grep /status) > /dev/null
TIME2=$(date +%s%N)
# time in ms
-RES=$[(TIME2 - TIME1) / 1000000]
+RES=$(((TIME2 - TIME1) / 1000000))
if [ $RES -gt 600 ]; then
echo "Talking to outputs took ${RES}ms, something is wrong"