1#!/bin/bash 2# SPDX-License-Identifier: GPL-2.0 3 4. "$(cd "$(dirname "$0")" && pwd)"/test_common.sh 5 6TID="stripe_02" 7ERR_CODE=0 8 9_prep_test "stripe" "mkfs & mount & umount" 10 11_create_backfile 0 256M 12_create_backfile 1 256M 13 14dev_id=$(_add_ublk_dev -t stripe "${UBLK_BACKFILES[0]}" "${UBLK_BACKFILES[1]}") 15_check_add_dev $TID $? 16 17_mkfs_mount_test /dev/ublkb"${dev_id}" 18ERR_CODE=$? 19 20_cleanup_test "stripe" 21_show_result $TID $ERR_CODE 22