]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh
Update ZTS to work on FreeBSD
[mirror_zfs.git] / tests / zfs-tests / tests / functional / zvol / zvol_swap / cleanup.ksh
index f3927146d6bd5aff738211375528e1f7a4bb9dde..70574fcfe705b1e3b7369f6e488bf3bcad307218 100755 (executable)
@@ -37,6 +37,8 @@ verify_runnable "global"
 
 if is_linux; then
        log_must swapon -a
+elif is_freebsd; then
+       swapon -a || true
 else
        log_must swapadd
 fi