mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-08 16:23:22 +03:00
![bunder2015](/assets/img/avatar_default.png)
Removing hardcoded paths in delegate group tests Reviewed-by: Giuseppe Di Natale <guss80@gmail.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: bunder2015 <omfgbunder@gmail.com> Closes #7778
73 lines
1.8 KiB
INI
73 lines
1.8 KiB
INI
#
|
|
# 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 2008 Sun Microsystems, Inc. All rights reserved.
|
|
# Use is subject to license terms.
|
|
#
|
|
|
|
#
|
|
# Copyright (c) 2013 by Delphix. All rights reserved.
|
|
#
|
|
|
|
export NISSTAFILE=$TEST_BASE_DIR/nis_state
|
|
|
|
export STAFF_GROUP=zfsgrp
|
|
export STAFF1=staff1
|
|
export STAFF2=staff2
|
|
|
|
export OTHER_GROUP=othergrp
|
|
export OTHER1=other1
|
|
export OTHER2=other2
|
|
|
|
export EVERYONE="$STAFF1 $STAFF2 $OTHER1 $OTHER2"
|
|
|
|
#
|
|
# 'readonly' is disabled for Linux because it requires remounting the
|
|
# filesystem which is restricted to root for older versions of mount(8).
|
|
#
|
|
if is_linux; then
|
|
LOCAL_SET="snapshot"
|
|
LOCAL_DESC_SET="checksum"
|
|
DESC_SET="compression"
|
|
else
|
|
LOCAL_SET="snapshot"
|
|
LOCAL_DESC_SET="readonly,checksum"
|
|
DESC_SET="compression"
|
|
fi
|
|
export LOCAL_SET
|
|
export LOCAL_DESC_SET
|
|
export DESC_SET
|
|
|
|
export TESTVOL=testvol.delegate
|
|
export VOLSIZE=150m
|
|
|
|
export ROOT_TESTVOL=$TESTPOOL/$TESTVOL
|
|
export ROOT_TESTFS=$TESTPOOL/$TESTFS
|
|
export SUBFS=$ROOT_TESTFS/SUBFS
|
|
export SUBFS2=$ROOT_TESTFS/SUBFS2
|
|
|
|
DATASETS="$ROOT_TESTFS"
|
|
if is_global_zone ; then
|
|
DATASETS=$DATASETS
|
|
fi
|
|
export DATASETS
|