mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-08-06 15:07:39 +03:00

Extend test coverage to verify default user and group quota functionality. These build on existing user/group quota tests with additional cases specific to default quotas functionality. Added on top of: https://github.com/openzfs/zfs/pull/16283/commits/e08cd97 Signed-off-by: Todd Seidelmann <seidelma@wharton.upenn.edu> Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Tony Hutter <hutter2@llnl.gov>
50 lines
1.3 KiB
INI
50 lines
1.3 KiB
INI
# SPDX-License-Identifier: CDDL-1.0
|
|
#
|
|
# 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 https://opensource.org/licenses/CDDL-1.0.
|
|
# 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 2009 Sun Microsystems, Inc. All rights reserved.
|
|
# Use is subject to license terms.
|
|
#
|
|
|
|
#
|
|
# Copyright (c) 2013 by Delphix. All rights reserved.
|
|
#
|
|
|
|
export QUSER1=quser1
|
|
export QUSER2=quser2
|
|
|
|
export QGROUP=qgroup
|
|
export QGROUP1=qgroup1
|
|
export QGROUP1=qgroup2
|
|
|
|
export UQUOTA_SIZE=1000000
|
|
export GQUOTA_SIZE=4000000
|
|
|
|
export QFS=$TESTPOOL/$TESTFS
|
|
export QFILE=$TESTDIR/qf
|
|
export OFILE=$TESTDIR/of
|
|
export QFILE2=$TESTDIR/qf2
|
|
export OFILE2=$TESTDIR/of2
|
|
|
|
export SNAP_QUOTA=100m
|
|
export TEST_QUOTA=88888
|