]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg
Vendor import of openzfs master @ 184df27eef0abdc7ab2105b21257f753834b936b
[FreeBSD/FreeBSD.git] / tests / zfs-tests / tests / functional / cli_root / zpool_reopen / zpool_reopen.cfg
1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright (c) 2016, 2017 by Intel Corporation. All rights reserved.
14 # Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
15 #
16
17 . $STF_SUITE/include/libtest.shlib
18
19 verify_runnable "global"
20
21 export DISK_ARRAY_NUM=$(echo ${DISKS} | nawk '{print NF}')
22 export DISKSARRAY=$DISKS
23 export SMALL_FILE_SIZE=10
24 export LARGE_FILE_SIZE=80
25 export MAXTIMEOUT=40
26
27 export SDSIZE=256
28 export SDHOSTS=1
29 export SDTGTS=1
30 export SDLUNS=1
31
32 export DISK1=$(echo $DISKS | nawk '{print $1}')
33 export DISK2=$(echo $DISKS | nawk '{print $2}')
34 export DISK3=$(echo $DISKS | nawk '{print $3}')
35
36 if is_linux; then
37         set_slice_prefix
38         set_device_dir
39         devs_id[0]=$(get_persistent_disk_name $DISK1)
40         devs_id[1]=$(get_persistent_disk_name $DISK2)
41         devs_id[2]=$(get_persistent_disk_name $DISK3)
42         export devs_id
43 fi