ZTS: Don't include zpool_create.shlib in zpool_add
authorRyan Moeller <ryan@iXsystems.com>
Thu, 13 Feb 2020 20:11:25 +0000 (15:11 -0500)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2020 20:11:25 +0000 (12:11 -0800)
commit71439163bb62ea1a931f8b359ded6c5b438f4baa
treefa7e09559f0cf0f84acb54b290592c740db81fed
parent3bdc4f6314ab55d1ee78ec8a2a6b77e5a3282ca3
ZTS: Don't include zpool_create.shlib in zpool_add

The zpool_add tests include zpool_create.shlib for a few silly
variables.

Don't use those variables for the file names. Include zpool_add.kshlib
for whatever variables we still need.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #9997
tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh