Skip to content

Commit

Permalink
ZTS: Move largest_pool_001_pos.ksh to Linux runfile
Browse files Browse the repository at this point in the history
On FreeBSD pools are not allowed to be created using vdevs which are
backed by ZFS volumes.  This configuration is not recommended for any
supported platform, nevertheless the largest_pool_001_pos.ksh test
case makes use of it as a convenience.  This causes the test case to
fail reliably on FreeBSD.  The layout is still tolerated on Linux
so only perform this test on Linux.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Ryan Moeller <freqlabs@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#13166
  • Loading branch information
behlendorf authored and andrewc12 committed Sep 23, 2022
1 parent 3a0b0f4 commit 6f75fb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/runfiles/common.run
Original file line number Diff line number Diff line change
Expand Up @@ -660,12 +660,6 @@ tags = ['functional', 'inuse']
tests = ['large_files_001_pos', 'large_files_002_pos']
tags = ['functional', 'large_files']

[tests/functional/largest_pool]
tests = ['largest_pool_001_pos']
pre =
post =
tags = ['functional', 'largest_pool']

[tests/functional/limits]
tests = ['filesystem_count', 'filesystem_limit', 'snapshot_count',
'snapshot_limit']
Expand Down
6 changes: 6 additions & 0 deletions tests/runfiles/linux.run
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ tags = ['functional', 'features', 'large_dnode']
tests = ['libaio', 'io_uring']
tags = ['functional', 'io']

[tests/functional/largest_pool:Linux]
tests = ['largest_pool_001_pos']
pre =
post =
tags = ['functional', 'largest_pool']

[tests/functional/mmap:Linux]
tests = ['mmap_libaio_001_pos']
tags = ['functional', 'mmap']
Expand Down

0 comments on commit 6f75fb8

Please sign in to comment.