]> granicus.if.org Git - zfs/commit
Add 'zpool split' coverage to the ZFS Test Suite
authorLOLi <loli10K@users.noreply.github.com>
Thu, 12 Apr 2018 17:57:24 +0000 (19:57 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Apr 2018 17:57:24 +0000 (10:57 -0700)
commit7fab6361882753d2703dbe4c6f6badc956b40484
treef0567796ce79478d5a28f31dde7259ca336f02da
parent8111eb4abc96a173845a553dc7d65382398f0683
Add 'zpool split' coverage to the ZFS Test Suite

This change adds five new tests to the ZTS:

 * zpool_split_cliargs: verify command line options and arguments
 * zpool_split_devices: verify zpool split accepts a device list
 * zpool_split_encryption: verify zpool can split encrypted pools
 * zpool_split_props: verify zpool split can set property values
 * zpool_split_vdevs: verify vdev layout when splitting the pool

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7409
12 files changed:
configure.ac
lib/libzfs/libzfs_pool.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh [new file with mode: 0755]