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 19verify_runnable "global" 20 21export DISK_ARRAY_NUM=$(echo ${DISKS} | awk '{print NF}') 22export DISKSARRAY=$DISKS 23export SMALL_FILE_SIZE=10 24export LARGE_FILE_SIZE=80 25export MAXTIMEOUT=40 26 27export SDSIZE=256 28export SDHOSTS=1 29export SDTGTS=1 30export SDLUNS=1 31 32read -r DISK1 DISK2 DISK3 _ <<<"$DISKS" 33export DISK1 DISK2 DISK3 34 35if is_linux; then 36 set_slice_prefix 37 set_device_dir 38 devs_id[0]=$(get_persistent_disk_name $DISK1) 39 devs_id[1]=$(get_persistent_disk_name $DISK2) 40 devs_id[2]=$(get_persistent_disk_name $DISK3) 41 export devs_id 42fi 43