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

The variable is used not only by the setup script but also by the
atf test bodies.
This commit is contained in:
Andriy Gapon 2018-03-15 14:23:31 +00:00
parent 20d96999a4
commit 4da82917ea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331001
2 changed files with 2 additions and 2 deletions

View file

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

View file

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