mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #9871
This commit is contained in:
committed by
Brian Behlendorf
parent
a3403164d7
commit
e4c439021f
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user