]> granicus.if.org Git - zfs/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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Mar 2018 01:03:33 +0000 (17:03 -0800)
commit8e5d14844d2f22997b3a41d8e2357e8f30c5d5dd
treef6435948dbb50287f614279d49a32736ae9b1db7
parent0e85048f53e46f30f26540fe3f6ae755d4d52ad1
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/blkdev.shlib
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