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.

Another one that should have been in r331001.
This commit is contained in:
Andriy Gapon 2018-03-15 14:47:53 +00:00
parent 0577c05e9a
commit bd539a8e3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331004
2 changed files with 2 additions and 1 deletions

View file

@ -31,5 +31,4 @@
. $STF_SUITE/include/libtest.kshlib
DISK=${DISKS%% *}
default_container_volume_setup $DISK

View file

@ -28,3 +28,5 @@
#
. $STF_SUITE/tests/cli_root/cli.cfg
export DISK=${DISKS%% *}