Sign in
kunit
/
linux
/
4ab8455f8bd83298bf7f67ab9357e3b1cc765c7d
/
.
/
tools
/
testing
/
selftests
/
media_tests
/
open_loop_test.sh
blob: d4c0179bbe2c4da10502101e33ca7909f11b89fe [
file
] [
log
] [
blame
]
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
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