Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.17-rc2 28 lines 591 B view raw
1#!/bin/bash 2# SPDX-License-Identifier: GPL-2.0 3 4. "$(cd "$(dirname "$0")" && pwd)"/test_common.sh 5 6TID="generic_07" 7ERR_CODE=0 8 9if ! _have_program fio; then 10 exit "$UBLK_SKIP_CODE" 11fi 12 13_prep_test "generic" "test UBLK_F_NEED_GET_DATA" 14 15_create_backfile 0 256M 16dev_id=$(_add_ublk_dev -t loop -q 2 -g "${UBLK_BACKFILES[0]}") 17_check_add_dev $TID $? 18 19# run fio over the ublk disk 20_run_fio_verify_io --filename=/dev/ublkb"${dev_id}" --size=256M 21ERR_CODE=$? 22if [ "$ERR_CODE" -eq 0 ]; then 23 _mkfs_mount_test /dev/ublkb"${dev_id}" 24 ERR_CODE=$? 25fi 26 27_cleanup_test "generic" 28_show_result $TID $ERR_CODE