003 File Manager
Current Path:
/usr/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota
usr
/
src
/
sys
/
contrib
/
openzfs
/
tests
/
zfs-tests
/
tests
/
functional
/
userquota
/
📁
..
📄
Makefile.am
(692 B)
📄
cleanup.ksh
(1.18 KB)
📄
groupspace_001_pos.ksh
(2.19 KB)
📄
groupspace_002_pos.ksh
(2.11 KB)
📄
groupspace_003_pos.ksh
(2.87 KB)
📄
setup.ksh
(1.55 KB)
📄
userquota.cfg
(1.22 KB)
📄
userquota_001_pos.ksh
(2.07 KB)
📄
userquota_002_pos.ksh
(2.41 KB)
📄
userquota_003_pos.ksh
(1.78 KB)
📄
userquota_004_pos.ksh
(2.34 KB)
📄
userquota_005_neg.ksh
(2.64 KB)
📄
userquota_006_pos.ksh
(2.25 KB)
📄
userquota_007_pos.ksh
(2.19 KB)
📄
userquota_008_pos.ksh
(1.6 KB)
📄
userquota_009_pos.ksh
(2.91 KB)
📄
userquota_010_pos.ksh
(2.22 KB)
📄
userquota_011_pos.ksh
(4.33 KB)
📄
userquota_012_neg.ksh
(1.74 KB)
📄
userquota_013_pos.ksh
(2.12 KB)
📄
userquota_common.kshlib
(2.73 KB)
📄
userspace_001_pos.ksh
(2.18 KB)
📄
userspace_002_pos.ksh
(2.09 KB)
📄
userspace_003_pos.ksh
(3.25 KB)
📄
userspace_encrypted.ksh
(2.47 KB)
📄
userspace_send_encrypted.ksh
(3.15 KB)
Editing: setup.ksh
#!/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 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # # Copyright (c) 2013 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib . $STF_SUITE/tests/functional/userquota/userquota_common.kshlib verify_runnable "both" log_must clean_user_group log_must add_group $QGROUP log_must add_user $QGROUP $QUSER1 log_must add_user $QGROUP $QUSER2 # # Verify the test user can execute the zfs utilities. This may not # be possible due to default permissions on the user home directory. # This can be resolved granting group read access. # # chmod 0750 $HOME # user_run $QUSER1 zfs list if [ $? -ne 0 ]; then log_unsupported "Test user $QUSER1 cannot execute zfs utilities" fi DISK=${DISKS%% *} default_setup $DISK
Upload File
Create Folder