License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / tools / testing / selftests / media_tests / open_loop_test.sh
CommitLineData
fe8777a8 1#!/bin/bash
b2441318 2# SPDX-License-Identifier: GPL-2.0
fe8777a8
SK
3 i=0
4file=/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