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
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.
13 # Copyright (c) 2016, 2017 by Intel Corporation. All rights reserved.
14 # Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
17 . $STF_SUITE/include/libtest.shlib
19 verify_runnable "global"
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
32 export DISK1=$(echo $DISKS | nawk '{print $1}')
33 export DISK2=$(echo $DISKS | nawk '{print $2}')
34 export DISK3=$(echo $DISKS | nawk '{print $3}')
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)