diff options
author | наб <[email protected]> | 2022-03-05 19:31:01 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-04-01 17:55:07 -0700 |
commit | c22c87203682bb983220cde0be4da0d5995fd502 (patch) | |
tree | 7653884ff69bfd2e583f9c572618c10fe25432b9 /tests | |
parent | 261f10b717e2e0ce78c8176fb1793aa712e16ead (diff) |
tests: don't always skip zfs_unshare tests on FreeBSD
Previously, they'd all be skipped on FreeBSD where share is showmount
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13259
Diffstat (limited to 'tests')
l---------[-rwxr-xr-x] | tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh index 29f38e802..b5208415d 100755..120000 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh @@ -1,39 +1 @@ -#!/bin/ksh -p -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (the "License"). -# You may not use this file except in compliance with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# - -# -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# - -. $STF_SUITE/include/libtest.shlib - -share -s -if [ $? -ne 0 ]; then - log_unsupported "The NFS utilities are not installed" -fi - -# Make sure NFS server is running before testing. -setup_nfs_server - -DISK=${DISKS%% *} -default_container_volume_setup $DISK +../zfs_share/setup.ksh
\ No newline at end of file |