Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at nocache-cleanup 21 lines 392 B view raw
1#!/bin/bash 2# SPDX-License-Identifier: GPL-2.0 3 4. "$(cd "$(dirname "$0")" && pwd)"/test_common.sh 5 6TID="loop_07" 7ERR_CODE=0 8 9_prep_test "loop" "mkfs & mount & umount with user copy" 10 11_create_backfile 0 256M 12 13dev_id=$(_add_ublk_dev -t loop -u "${UBLK_BACKFILES[0]}") 14_check_add_dev $TID $? 15 16_mkfs_mount_test /dev/ublkb"${dev_id}" 17ERR_CODE=$? 18 19_cleanup_test "loop" 20 21_show_result $TID $ERR_CODE