]> git.proxmox.com Git - mirror_zfs.git/commitdiff
tests: don't always skip zfs_unshare tests on FreeBSD
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sat, 5 Mar 2022 18:31:01 +0000 (19:31 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 2 Apr 2022 00:55:07 +0000 (17:55 -0700)
Previously, they'd all be skipped on FreeBSD where share is showmount

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13259

tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh [changed from file to symlink]

deleted file mode 100755 (executable)
index 29f38e802c57c211df7d9469dbc30ec9b7a487b8..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/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
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b5208415d45c780b3f1023d0d40e852fc6dbc48c
--- /dev/null
@@ -0,0 +1 @@
+../zfs_share/setup.ksh
\ No newline at end of file