-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable zfs-tests zpool_expand_002 and 003
Use -pH flags in get_pool_prop so that numeric properties such as size can be compared. The zpool_expand test suite is currently the only one which uses get_pool_prop for a numeric property. Add TEMPFILE and TEMPFILE{0,1,2} to default.cfg for tests that must build pools on top of files, such as this one where expansion is necessary but the entries in DISKS may not point to entities that can be expanded. Base the pool used for testing on file-type VDEVs instead of using zvols within an underlying pool, to avoid issues that come up when pools are backed by other pools. Remove unnecessary setup.ksh and cleanup.ksh. They were creating and destroying the underlying pool used to create the zvols upon which the test pool was created. This pool is no longer used. Finally, enable zpool_expand_002_pos and zpool_expand_003_neg Signed-off-by: Olaf Faaland <[email protected]> removed unnecessary setup and cleanup files
- Loading branch information
Showing
8 changed files
with
47 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile.am
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_expand | ||
dist_pkgdata_SCRIPTS = \ | ||
zpool_expand.cfg \ | ||
setup.ksh \ | ||
cleanup.ksh \ | ||
zpool_expand_001_pos.ksh \ | ||
zpool_expand_002_pos.ksh \ | ||
zpool_expand_003_neg.ksh |
32 changes: 0 additions & 32 deletions
32
tests/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
tests/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters