Home
last modified time | relevance | path

Searched refs:dtst (Results 1 – 25 of 34) sorted by relevance

12

/titanic_41/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_unallow_006_pos.ksh51 for dtst in $DATASETS ; do
52 log_must $ZFS allow -u $STAFF1 $LOCAL_DESC_SET $dtst
53 log_must $ZFS allow -g $STAFF_GROUP $LOCAL_DESC_SET $dtst
54 log_must $ZFS allow -e $LOCAL_DESC_SET $dtst
56 log_must verify_perm $dtst $LOCAL_DESC_SET \
59 log_must $ZFS unallow -e $dtst
60 log_must verify_perm $dtst $LOCAL_DESC_SET $STAFF1 $STAFF2
61 log_must verify_noperm $dtst $LOCAL_DESC_SET $OTHER1 $OTHER2
63 log_must $ZFS unallow -g $STAFF_GROUP $dtst
64 log_must verify_perm $dtst $LOCAL_DESC_SET $STAFF1
[all …]
H A Dzfs_allow_004_pos.ksh62 for dtst in $DATASETS ; do
63 log_must $ZFS allow -d $STAFF1 $perms $dtst
64 log_must verify_noperm $dtst $perms $STAFF1
65 if [[ $dtst == $ROOT_TESTFS ]]; then
74 for dtst in $DATASETS ; do
75 log_must $ZFS allow -d -g $STAFF_GROUP $perms $dtst
76 log_must verify_noperm $dtst $perms $STAFF2
77 if [[ $dtst == $ROOT_TESTFS ]]; then
86 for dtst in $DATASETS ; do
87 log_must $ZFS allow -d -e $perms $dtst
[all …]
H A Dzfs_allow_003_pos.ksh58 for dtst in $DATASETS ; do
59 log_must $ZFS allow -l $STAFF1 $perms $dtst
60 log_must verify_perm $dtst $perms $STAFF1
61 if [[ $dtst == $ROOT_TESTFS ]] ; then
70 for dtst in $DATASETS ; do
71 log_must $ZFS allow -l -g $STAFF_GROUP $perms $dtst
72 log_must verify_perm $dtst $perms $STAFF1 $STAFF2
73 if [[ $dtst == $ROOT_TESTFS ]] ; then
82 for dtst in $DATASETS ; do
83 log_must $ZFS allow -l -e $perms $dtst
[all …]
H A Dzfs_allow_009_neg.ksh51 for dtst in $DATASETS ; do
52 log_mustnot eval "$ZFS allow -s @$longset $dtst"
55 log_mustnot $ZFS allow -s @non-existent $dtst
56 log_mustnot $ZFS allow $STAFF "atime,created,mounted" $dtst
57 log_mustnot $ZFS allow $dtst $TESTPOOL
58 log_mustnot $ZFS allow -c $dtst
59 log_mustnot $ZFS allow -u $STAFF1 $dtst
60 log_mustnot $ZFS allow -u $STAFF1 -g $STAFF_GROUP "create,destroy" $dtst
61 log_mustnot $ZFS allow -u $STAFF1 -e "mountpoint" $dtst
H A Dzfs_unallow_003_pos.ksh55 for dtst in $DATASETS ; do
56 log_must $ZFS unallow $STAFF1 $dtst
57 log_must $ZFS unallow -l -d $STAFF2 $dtst
58 log_must verify_noperm $dtst $LOCAL_SET $STAFF1
59 if [[ $dtst == $ROOT_TESTFS ]]; then
63 log_must $ZFS unallow -l -d $OTHER1 $dtst
64 log_must $ZFS unallow -r $OTHER2 $dtst
65 log_must verify_noperm $dtst $LOCAL_DESC_SET $OTHER1 $OTHER2
66 if [[ $dtst == $ROOT_TESTFS ]]; then
H A Dzfs_allow_008_pos.ksh56 for dtst in $DATASETS ; do
58 log_must $ZFS allow -l $STAFF1 $perms1 $dtst
59 log_must $ZFS allow -l $STAFF1 allow $dtst
61 if [[ $dtst == $ROOT_TESTFS ]]; then
69 log_must user_run $STAFF1 $ZFS allow -l $OTHER1 $perms1 $dtst
70 log_must verify_perm $dtst $perms1 $OTHER1
74 log_mustnot user_run $STAFF1 $ZFS allow $OTHER1 $perms2 $dtst
75 log_must verify_noperm $dtst $perms2 $OTHER1
H A Dzfs_unallow_001_pos.ksh51 for dtst in $DATASETS ; do
52 log_must $ZFS unallow -l $STAFF1 $dtst
53 log_must verify_noperm $dtst $LOCAL_SET $STAFF1
55 log_must $ZFS unallow -l $OTHER1 $dtst
56 log_must verify_noperm $dtst $LOCAL_DESC_SET $OTHER1
58 log_must verify_perm $dtst $LOCAL_DESC_SET $OTHER2
59 if [[ $dtst == $ROOT_TESTFS ]]; then
H A Dzfs_allow_002_pos.ksh65 for dtst in $DATASETS ; do
66 log_must $ZFS allow $STAFF_GROUP $perms $dtst
67 log_must verify_perm $dtst $perms $STAFF_GROUP
68 log_must verify_noperm $dtst $perms $STAFF1 $STAFF2
74 for dtst in $datasets ; do
75 log_must $ZFS allow $STAFF_GROUP $perms $dtst
76 log_must verify_perm $dtst $perms $STAFF1 $STAFF2
H A Dzfs_allow_006_pos.ksh60 for dtst in $DATASETS $fs1 $fs2; do
61 log_must $ZFS allow -s @basic $perms1 $dtst
62 log_must $ZFS allow $STAFF1 @basic $dtst
63 log_must verify_perm $dtst $perms1 $STAFF1
67 for dtst in $DATASETS $fs1 $fs2; do
68 log_must $ZFS allow -s @basic $perms2 $dtst
69 log_must verify_perm $dtst ${perms1},${perms2} $STAFF1
H A Dzfs_unallow_004_pos.ksh50 for dtst in $DATASETS ; do
51 log_must $ZFS allow -s @basic $LOCAL_DESC_SET $dtst
52 log_must $ZFS allow -u $STAFF1 @basic $dtst
54 log_must verify_perm $dtst $LOCAL_DESC_SET $STAFF1
55 log_must $ZFS unallow -s @basic $LOCAL_DESC_SET $dtst
56 log_must verify_noperm $dtst $LOCAL_DESC_SET $STAFF1
H A Ddelegate_common.kshlib79 typeset dtst=$1
83 if [[ -z $@ || -z $permissions || -z $dtst ]]; then
87 typeset type=$(get_prop type $dtst)
96 check_fs_perm $user $perm $dtst
99 check_vol_perm $user $perm $dtst
105 "on $dtst"
123 typeset dtst=$1
127 if [[ -z $@ || -z $permissions || -z $dtst ]]; then
131 typeset type=$(get_prop type $dtst)
140 check_fs_perm $user $perm $dtst
[all …]
H A Dzfs_allow_001_pos.ksh72 for dtst in $DATASETS ; do
73 log_must $ZFS allow everyone $perms $dtst
74 log_must verify_perm $dtst $perms $EVERYONE "everyone"
89 for dtst in $DATASETS ; do
90 log_must $ZFS allow everyone $perms $dtst
91 log_must verify_perm $dtst $perms $EVERYONE
H A Dzfs_allow_010_pos.ksh91 for dtst in $DATASETS; do
93 typeset type=$(get_prop type $dtst)
98 log_must $ZFS allow $STAFF1 ${perms[$i]} $dtst
101 log_must verify_perm $dtst ${perms[$i]} $STAFF1
103 log_must verify_noperm $dtst ${perms[$i]} $STAFF1
H A Dzfs_unallow_008_neg.ksh63 for dtst in $DATASETS ; do
64 log_must $ZFS allow -c create $dtst
68 neg_test $ZFS unallow ${badopts[$i]} $dtst
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_001_pos.ksh61 typeset dtst=$2
64 if [[ $dtst == $VOL || $dtst == $VOLSNAP ]]; then
72 if [[ $dtst != $FS ]]; then
97 case $dtst in
107 log_mustnot $ZFS destroy -rR $dtst
118 log_mustnot $ZFS destroy -rR $dtst
129 log_must $ZFS destroy -rR $dtst
130 log_must $ZFS snapshot $dtst
135 mpt_dir=$(snapshot_mountpoint $dtst)
140 log_must $ZFS destroy -rR $dtst
[all …]
H A Dzfs_destroy_common.kshlib51 typeset dtst=$1
76 if [[ $dtst == snap || $dtst == clone ]]; then
85 if [[ $dtst == clone ]]; then
124 typeset dtst
127 for dtst in "$@"; do
130 if [[ $dtst == $VOL || $dtst == $VOLSNAP || \
131 $dtst == $VOLCLONE ]]
136 newlist="$newlist $dtst"
H A Dzfs_destroy_005_neg.ksh68 for dtst in $datasets; do
70 if [[ $dtst == $VOL || $dtst == $VOLSNAP || \
71 $dtst == $VOLCLONE ]]
79 log_mustnot $ZFS destroy $opt $dtst
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_001_pos.ksh65 typeset dtst
102 for dtst in $FS $VOL; do
104 if [[ $dtst == $VOL ]]; then
111 write_mountpoint_dir $dtst
115 if [[ $dtst == $VOL ]]; then
117 log_must $ZFS rollback $opt $dtst@$snap_point
121 log_must $ZFS rollback $opt $dtst@$snap_point
126 log_must datasetexists $dtst@$snap
128 log_must datasetnonexists $dtst@$snap
133 log_must datasetexists $dtst$clone
[all …]
H A Dzfs_rollback_common.kshlib94 typeset dtst
95 for dtst in $FS $VOL; do
97 if [[ $dtst == $VOL ]]; then
105 case $dtst in
124 if [[ $dtst == $VOL ]]; then
153 typeset dtst
166 for dtst in $FS $VOL; do
168 if snapexists $dtst@$snap; then
169 log_must $ZFS destroy -Rf $dtst@$snap
233 typeset dtst=$1
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh49 typeset dtst
50 for dtst in $new_fsclone $new_volclone $fsclone $volclone \
52 if datasetexists $dtst; then
53 log_must $ZFS destroy -f $dtst
75 for dtst in $@; do
76 typeset value=$(get_prop $prop $dtst)
77 typeset source=$(get_source $prop $dtst)
H A Duser_property_001_pos.ksh57 for dtst in $TESTPOOL $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL; do
58 log_must eval "$ZFS set $user_prop='$value' $dtst"
59 log_must eval "check_user_prop $dtst $user_prop '$value'"
H A Duser_property_003_neg.ksh55 for dtst in $TESTPOOL $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL ; do
56 log_mustnot $ZFS set $user_prop=$value $dtst
57 log_mustnot check_user_prop $dtst \"$user_prop\" \"$value\"
/titanic_41/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_008_pos.ksh48 set -A dtst "$POOL" "$POOL/pclone" \
52 dtst[((n))]="$POOL/$FS/vol"; dtst[((n+1))]="$POOL/$FS/vclone"
60 origin=$(get_prop origin ${dtst[$i]})
63 log_must $ZFS promote ${dtst[$i]}
81 log_must $ZFS promote ${dtst[((i+1))]}
H A Drsend_007_pos.ksh46 set -A dtst \
51 dtst[((n))]="$POOL/vol"; dtst[((n+1))]="$POOL/$FS/fs1/vol"
67 log_must $ZFS rename ${dtst[$i]} ${dtst[((i+1))]}
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_009_neg.ksh53 typeset dtst
56 for dtst in $TESTPOOL $TESTPOOL1; do
57 poolexists $dtst && destroy_pool $dtst

12