summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/media_tests/open_loop_test.sh
blob: dcd3c17efc1771d345364d439fd5a1c364af2da6 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
 i=0
file=/dev/media$1
 while :; do
  echo $file
  i=$((i+1))
  R=$(./media_device_open -d $file);
 # clear
  echo -e "Loop $i\n$R"
 done
OpenPOWER on IntegriCloud