diff options
author | Ryan Moeller <[email protected]> | 2020-08-01 11:44:54 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-01 08:44:54 -0700 |
commit | b6737193ee601cc213d3630e4603f9883b6002ad (patch) | |
tree | bb46c43abb7bd2a3c4841664ee3e0b5a3cbc8587 /tests/runfiles | |
parent | fe628bc21d360336307d1da09bc9260a46dde444 (diff) |
FreeBSD: Fix `zfs jail` and add a test
zfs_jail was not using zfs_ioctl so failed to map the IOC number
correctly. Use zfs_ioctl to perform the jail ioctl and add a test
case for FreeBSD.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10658
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/freebsd.run | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/tests/runfiles/freebsd.run b/tests/runfiles/freebsd.run index 447463699..c7ca1d769 100644 --- a/tests/runfiles/freebsd.run +++ b/tests/runfiles/freebsd.run @@ -1 +1,27 @@ -# don't delete this file +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 of the CDDL. +# +# A full copy of the text of the CDDL should have accompanied this +# source. A copy of the CDDL is also available via the Internet at +# http://www.illumos.org/license/CDDL. +# + +[DEFAULT] +pre = setup +quiet = False +pre_user = root +user = root +timeout = 600 +post_user = root +post = cleanup +failsafe_user = root +failsafe = callbacks/zfs_failsafe +outputdir = /var/tmp/test_results +tags = ['functional'] + +[tests/functional/cli_root/zfs_jail:FreeBSD] +tests = ['zfs_jail_001_pos'] +tags = ['functional', 'cli_root', 'zfs_jail'] |