diff options
author | Ryan Moeller <[email protected]> | 2020-01-27 16:29:25 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-01-27 13:29:25 -0800 |
commit | e4c439021f09352ee757cb508fda061586f4664b (patch) | |
tree | dba9580503c58faa73b401eea5860a5a2dd7cd22 /tests/zfs-tests | |
parent | a3403164d700e0c32dd89ba09bbcaf48bdee47f2 (diff) |
ZTS: Move more tests out of common.run
These tests won't run on all platforms as currently implemented:
* add_nested_replacing_spare (needs zed)
* fault (needs zed)
* mmp (needs multihost_history)
* umount_unlink_drained (needs procfs)
* zpool_expand (needs udev events and zed)
* zpool_reopen (needs scsi_debug)
* zvol_swap_003_pos (needs to modify vfstab)
* zvol_swap_00[56]_pos (needs swaphigh/swaplen)
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9871
Diffstat (limited to 'tests/zfs-tests')
4 files changed, 2 insertions, 12 deletions
diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh index 59d9a462e..6106f7ee7 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh @@ -56,6 +56,8 @@ function cleanup log_assert "Using a zvol as swap space, fill /var/tmp to 80%." +log_onexit cleanup + vol=$TESTPOOL/$TESTVOL swapdev=${ZVOL_DEVDIR}/$vol log_must swap_setup $swapdev diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh index d071de7e4..aafdb7a49 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh @@ -46,10 +46,6 @@ verify_runnable "global" -if is_linux || is_freebsd; then - log_unsupported "Modifies global non-ZFS system config" -fi - function cleanup { [[ -f $TESTDIR/$TESTFILE ]] && log_must rm -f $TESTDIR/$TESTFILE diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh index 6d51acbe9..b22bfdb16 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh @@ -44,10 +44,6 @@ verify_runnable "global" -if is_linux || is_freebsd; then - log_unsupported "swaplow + swaplen unsupported Linux/FreeBSD options" -fi - assertion="Verify the sum of swaplow and swaplen is less or equal to volsize" log_assert $assertion diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh index 7db274eb7..5788a8643 100755 --- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh +++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh @@ -45,10 +45,6 @@ verify_runnable "global" -if is_linux || is_freebsd; then - log_unsupported "swaplow + swaplen unsupported Linux/FreeBSD options" -fi - function cleanup { typeset -i i=0 |