JustOS/linux-6.13/tools/testing/selftests/media_tests/open_loop_test.sh
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

12 lines
185 B
Bash
Executable File

#!/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