We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a2236 commit 72070e5Copy full SHA for 72070e5
tools/testing/selftests/ublk/test_stripe_04.sh
@@ -0,0 +1,24 @@
1
+#!/bin/bash
2
+# SPDX-License-Identifier: GPL-2.0
3
+
4
+. "$(cd "$(dirname "$0")" && pwd)"/test_common.sh
5
6
+TID="stripe_04"
7
+ERR_CODE=0
8
9
+_prep_test "stripe" "mkfs & mount & umount on zero copy"
10
11
+backfile_0=$(_create_backfile 256M)
12
+backfile_1=$(_create_backfile 256M)
13
+dev_id=$(_add_ublk_dev -t stripe -z -q 2 "$backfile_0" "$backfile_1")
14
+_check_add_dev $TID $? "$backfile_0" "$backfile_1"
15
16
+_mkfs_mount_test /dev/ublkb"${dev_id}"
17
+ERR_CODE=$?
18
19
+_cleanup_test "stripe"
20
21
+_remove_backfile "$backfile_0"
22
+_remove_backfile "$backfile_1"
23
24
+_show_result $TID $ERR_CODE
0 commit comments