repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
media_tests
/
open_loop_test.sh
blob
d4c0179bbe2c4da10502101e33ca7909f11b89fe
1
#!/bin/bash
2
# SPDX-License-Identifier: GPL-2.0
3
i
=
0
4
file
=/
dev
/
media
$1
5
while
:;
do
6
echo
$file
7
i
=
$
((
i
+
1
))
8
R
=
$
(
.
/
media_device_open
-d
$file
);
9
# clear
10
echo -e
"Loop
$i
\n
$R
"
11
done