]> granicus.if.org Git - zfs/commit
ZTS: Written props test fails with 4k disks
authorJohn Wren Kennedy <john.kennedy@delphix.com>
Fri, 18 Oct 2019 17:27:02 +0000 (19:27 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Oct 2019 17:27:02 +0000 (13:27 -0400)
commit4063440b73af79be9792029ada17b01c51ad7172
treefbfcabdf780eb1264ba06dd0f1124741fce0eb57
parent9f3c72a2a849dcf121679cb483be33b68880c519
ZTS: Written props test fails with 4k disks

With 4k disks, this test will fail in the last section because the
expected human readable value of 20.0M is reported as 20.1M. Rather than
use the human readable property, switch to the parsable property and
verify that the values are reasonably close.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: John Kennedy <john.kennedy@delphix.com>
Closes #9477
tests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh