]> granicus.if.org Git - zfs/commit
ZTS: Improve enospc tests
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 29 Jun 2018 16:40:32 +0000 (09:40 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Jun 2018 16:40:32 +0000 (09:40 -0700)
commite03a41a6049d463fe746038c81dec394783db98e
tree25216a12ea1df6ab3206630568a13ae95dec7e96
parentda2feb42fb5c7a8c1e1cc67f7a880da9d8e97bc2
ZTS: Improve enospc tests

The enospc_002_pos test case would frequently fail due a command
succeeding when it was expected to fail due to lack of space.
In order to make this far less likely, files are created across
multiple transaction groups in order to consume as many unused
blocks as possible.

The dependency that the tests run on a partitioned block device
has been removed.  It's simpler to use sparse files.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7663
tests/test-runner/bin/zts-report.py
tests/zfs-tests/tests/functional/no_space/cleanup.ksh
tests/zfs-tests/tests/functional/no_space/enospc.cfg
tests/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh
tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh
tests/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh
tests/zfs-tests/tests/functional/no_space/setup.ksh