]> git.proxmox.com Git - mirror_zfs.git/commit
zdb and inuse tests don't pass with real disks
authorPaul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>
Thu, 8 Mar 2018 01:03:33 +0000 (20:03 -0500)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:38 +0000 (16:10 -0700)
commit0a0af41bd926ca20a26d7476d792ce82bca9c077
tree4d7f057fcd6d943df05695735b6b71c512c0d7e0
parent3808006edfc46b18f0a40a2e9df54c6567bf52cc
zdb and inuse tests don't pass with real disks

Due to zpool create auto-partioning in Linux (i.e. sdb1),
certain utilities need to use the parition (sdb1) while
others use the whole disk name (sdb).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #6939
Closes #7261
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh