zfs test suite: move definition of DISK to the cfg file in zpool_get

The variable is used not only by the setup script but also by the
atf test bodies.

This should have been in r331001.
This commit is contained in:
Andriy Gapon 2018-03-15 14:35:46 +00:00
parent 4da82917ea
commit 1524d42a3e
2 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,4 @@
. ${STF_SUITE}/include/libtest.kshlib
verify_runnable "both"
DISK=${DISKS%% *}
default_setup $DISK

View File

@ -69,3 +69,5 @@ typeset -a properties=(
"feature@skein"
# "feature@edonr" Edonr is not yet implemented on FreeBSD
)
export DISK=${DISKS%% *}