FILE
run.sh
File preview with syntax highlighting.
linux-6.19.14/tools/testing/selftests/vfio/scripts/run.sh
1# SPDX-License-Identifier: GPL-2.0-or-later 2 3source $(dirname -- "${BASH_SOURCE[0]}")/lib.sh 4 5function main() { 6 local device_bdfs=$(ls ${DEVICES_DIR}) 7 8 if [ -z "${device_bdfs}" ]; then 9 echo "No devices found, skipping." 10 exit 4 11 fi 12 13 "$@" ${device_bdfs} 14} 15 16main "$@"
~/
Read-only file preview.