selftests: media_device_test change it to randomize loop count
authorShuah Khan <shuahkh@osg.samsung.com>
Sat, 18 Jun 2016 00:05:05 +0000 (18:05 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Mon, 27 Jun 2016 19:21:26 +0000 (13:21 -0600)
commite9c0d44f5328ba844f7e037791b9cc72ee3ef964
treee095d64468cdc4a3babe606f69abe8a3a2a4b940
parentbff124682eaa784596672bdd344b9b0f646035a2
selftests: media_device_test change it to randomize loop count

Change it to randomize the loop count instead of hardcoded number of times
ioctl is called.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/media_tests/media_device_test.c