diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2016-06-17 18:12:04 -0600 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-06-27 13:29:52 -0600 |
commit | fe8777a8a0a144dee2eb59d00664184f1e49db4a (patch) | |
tree | 4d52746899386dba550b8a27dba04a2324247780 /tools/testing/selftests/media_tests/bind_unbind_sample.sh | |
parent | b96da0fc54ffeca53dbab231ae845ad093785cc7 (diff) | |
download | linux-fe8777a8a0a144dee2eb59d00664184f1e49db4a.tar.bz2 |
selftests: add media controller regression test scripts and document
Add regression test scripts open_loop_test.sh, and bind_unbind_sample.sh.
Also add regression_test.txt that describes the regression test procedure.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/media_tests/bind_unbind_sample.sh')
-rwxr-xr-x | tools/testing/selftests/media_tests/bind_unbind_sample.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/media_tests/bind_unbind_sample.sh b/tools/testing/selftests/media_tests/bind_unbind_sample.sh new file mode 100755 index 000000000000..9f362f10631a --- /dev/null +++ b/tools/testing/selftests/media_tests/bind_unbind_sample.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Find device number in /sys/bus/usb/drivers/drivername +# Edit this file to update the driver numer and name +# Example test for uvcvideo driver +#i=0 +# while :; do +# i=$((i+1)) +# echo 1-5:1.0 > /sys/bus/usb/drivers/uvcvideo/unbind; +# echo 1-5:1.0 > /sys/bus/usb/drivers/uvcvideo/bind; +# clear +# echo $i +#done |