tools/testing/selftests/media_tests/open_loop_test.sh

Source file repositories/reference/linux-study-clean/tools/testing/selftests/media_tests/open_loop_test.sh

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/media_tests/open_loop_test.sh
Extension
.sh
Size
185 bytes
Lines
12
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: tools
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

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

Annotation

Implementation Notes