mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 06:46:13 +00:00
tests/sysfs_edit_reader: posixify
Debian's default sh complains ... Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
8c7f8bcccb
commit
66b88b615c
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user