| 86b90d91 | 09-Oct-2019 |
Alan Somers <[email protected]> |
ZFS: in the tests, don't override PWD
The ZFS test suite was overriding the common $PWD variable with the path to the pwd command, even though no test wanted to use it that way. Most tests didn't n
ZFS: in the tests, don't override PWD
The ZFS test suite was overriding the common $PWD variable with the path to the pwd command, even though no test wanted to use it that way. Most tests didn't notice, because ksh93 eventually restored it to its proper meaning.
MFC after: 2 weeks Sponsored by: Axcient
show more ...
|
| 310a44b2 | 08-Oct-2019 |
Alan Somers <[email protected]> |
zfs: fix the zfsd_hotspare_007_pos test
It was trying to destroy the pool while zfsd was detaching the spare, and "zpool destroy" failed. Fix by waiting until the spare has fully detached.
MFC aft
zfs: fix the zfsd_hotspare_007_pos test
It was trying to destroy the pool while zfsd was detaching the spare, and "zpool destroy" failed. Fix by waiting until the spare has fully detached.
MFC after: 2 weeks Sponsored by: Axcient
show more ...
|
| c43f30ee | 07-Oct-2019 |
Alan Somers <[email protected]> |
ZFS: fix the redundancy tests
* Fix force_sync_path, which ensures that a file is fully flushed to disk. Apparently "zpool history"'s performance has improved, but exporting and importing the po
ZFS: fix the redundancy tests
* Fix force_sync_path, which ensures that a file is fully flushed to disk. Apparently "zpool history"'s performance has improved, but exporting and importing the pool still works. * Fix file_dva by using undocumented zdb syntax to clarify that we're interested in the pool's root file system, not the pool itself. This should also fix the zpool_clear_001_pos test. * Remove a redundant cleanup step
MFC after: 2 weeks Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D21901
show more ...
|
| d253c454 | 07-Oct-2019 |
Alan Somers <[email protected]> |
zfs: fix the slog_012_neg test
This test attempts to corrupt a file-backed vdev by deleting it and then recreating it with truncate. But that doesn't work, because the pool already has the vdev ope
zfs: fix the slog_012_neg test
This test attempts to corrupt a file-backed vdev by deleting it and then recreating it with truncate. But that doesn't work, because the pool already has the vdev open, and it happily hangs on to the open-but-deleted file. Fix by truncating the file without deleting it.
MFC after: 2 weeks Sponsored by: Axcient
show more ...
|
| 4330d727 | 05-Oct-2019 |
Alan Somers <[email protected]> |
ZFS: fix several of the "zpool create" tests
* Remove zpool_create_013_neg. FreeBSD doesn't have an equivalent of Solaris's metadevices. GEOM would be the equivalent, but since all geoms are t
ZFS: fix several of the "zpool create" tests
* Remove zpool_create_013_neg. FreeBSD doesn't have an equivalent of Solaris's metadevices. GEOM would be the equivalent, but since all geoms are the same from ZFS's perspective, this test would be redundant with zpool_create_012_neg
* Remove zpool_create_014_neg. FreeBSD does not support swapping to regular files.
* Remove zpool_create_016_pos. This test is redundant with literally every other test that creates a disk-backed pool.
* s:/etc/vfstab:/etc/fstab in zpool_create_011_neg
* Delete the VTOC-related portion of zpool_create_008_pos. FreeBSD doesn't use VTOC.
* Replace dumpadm with dumpon and swap with swapon in multiple tests.
* In zpool_create_015_neg, don't require "zpool create -n" to fail. It's reasonable for that variant to succeed, because it doesn't actually open the zvol.
* Greatly simplify zpool_create_012_neg. Make it safer, too, but not interfering with the system's regular swap devices.
* Expect zpool_create_011_neg to fail (PR 241070)
* Delete some redundant cleanup steps in various tests
* Remove some unneeeded ATF timeout specifications. The default is fine.
PR: 241070 MFC after: 2 weeks Sponsored by: Axcient
show more ...
|