/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/ |
H A D | dosmode.ksh | 92 log_must user_run $owner touch $testfile 94 log_must user_run $owner $changeflags nouarch $testfile 95 log_mustnot user_run $other $changeflags uarch $testfile 97 log_must user_run $owner touch $testfile 98 log_mustnot user_run $other $changeflags nouarch $testfile 102 log_must user_run $owner rm $testfile 113 log_must user_run $owner touch $testfile 114 log_must user_run $owner $changeflags hidden $testfile 115 log_mustnot user_run $other $changeflags nohidden $testfile 117 log_must user_run $owner $changeflags 0 $testfile [all …]
|
H A D | posixmode.ksh | 86 log_must user_run $other rm $file 89 log_must user_run $owner touch $file 92 log_must user_run $owner rm $file 94 log_must user_run $owner touch $file 96 log_must user_run $other rm $file 98 log_must user_run $owner touch $file 105 log_must user_run $owner mkdir $dir 107 log_must user_run $owner chmod 007 $dir 117 log_mustnot user_run $other rm $file 121 log_mustnot user_run $owner touch $file [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 344 user_run $user eval "zfs send $snap > $bak_user" 385 user_run $user eval "zfs receive $dtst < $bak_root" 391 user_run $user eval "zfs receive $dtst < $bak_root" 398 user_run $user eval "zfs receive $dtst < $bak_root" 405 user_run $user eval "zfs receive $dtst < $bak_root" 436 user_run $user zfs set "$user:ts=$stamp" $dtst 461 user_run $user zfs set $perm=${modes[$n]} $dtst 487 user_run $user zfs set $perm=${modes[$n]} $dtst 503 user_run $user zfs set reservation=$value32m $dtst 523 user_run $user zfs create $newfs [all …]
|
H A D | zfs_allow_008_pos.ksh | 64 log_mustnot user_run $STAFF1 zfs allow $OTHER1 $perms1 $childfs 69 log_must user_run $STAFF1 zfs allow -l $OTHER1 $perms1 $dtst 74 log_mustnot user_run $STAFF1 zfs allow $OTHER1 $perms2 $dtst
|
H A D | zfs_unallow_005_pos.ksh | 56 user_run $STAFF1 zfs create $SUBFS 67 user_run $STAFF1 zfs create $SUBFS2
|
/freebsd/tests/sys/cddl/zfs/tests/delegate/ |
H A D | delegate_common.kshlib | 153 function user_run function 401 user_run $user $ZFS send $snap > $bak_user 444 user_run $user $ZFS receive $dtst < $bak_root 450 user_run $user $ZFS receive $dtst < $bak_root 457 user_run $user $ZFS receive $dtst < $bak_root 464 user_run $user $ZFS receive $dtst < $bak_root 496 user_run $user $ZFS set "$user:ts=$stamp" $dtst 521 user_run $user $ZFS set $perm=${modes[$n]} $dtst 547 user_run $user $ZFS set $perm=${modes[$n]} $dtst 563 user_run $user $ZFS set reservation=$value32m $dtst [all …]
|
H A D | zfs_allow_008_pos.ksh | 73 log_mustnot user_run $STAFF1 $ZFS allow $OTHER1 $perms1 $childfs 78 log_must user_run $STAFF1 $ZFS allow -l $OTHER1 $perms1 $dtst 83 log_mustnot user_run $STAFF1 $ZFS allow $OTHER1 $perms2 $dtst
|
H A D | zfs_unallow_005_pos.ksh | 65 user_run $STAFF1 $ZFS create $SUBFS 76 user_run $STAFF1 $ZFS create $SUBFS2
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/chattr/ |
H A D | chattr_002_neg.ksh | 63 log_must user_run $QUSER1 touch $TESTDIR/writable 64 log_must user_run $QUSER1 touch $TESTDIR/immutable 65 log_must user_run $QUSER1 touch $TESTDIR/append 71 log_must user_run $QUSER1 chattr -i $TESTDIR/writable 72 log_must user_run $QUSER1 chattr -a $TESTDIR/writable 73 log_must user_run $QUSER1 chattr +i $TESTDIR/immutable 74 log_must user_run $QUSER1 chattr +a $TESTDIR/append 76 log_mustnot user_run $QUSER1 chattr +i $TESTDIR/writable 77 log_mustnot user_run $QUSER1 chattr +a $TESTDIR/writable 78 log_mustnot user_run $QUSER1 chattr -i $TESTDIR/immutable [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/privilege/ |
H A D | privilege_001_pos.ksh | 69 log_mustnot user_run $ZFS_USER "zpool create $TESTPOOL $DISKS" 70 log_mustnot user_run $ZFS_USER "pfexec zpool create $TESTPOOL $DISKS" 74 log_must user_run $ZFS_USER "pfexec zpool create -f $TESTPOOL $DISKS" 77 log_mustnot user_run $ZFS_USER "zfs create $TESTPOOL/fs" 81 log_must user_run $ZFS_USER "pfexec zfs create $TESTPOOL/fs" 88 log_mustnot user_run $ZFS_USER "zpool destroy $TESTPOOL" 89 log_must user_run $ZFS_USER "pfexec zpool destroy $TESTPOOL" 93 log_mustnot user_run $ZFS_USER "pfexec zpool create -f $TESTPOOL $DISKS"
|
H A D | privilege_002_pos.ksh | 80 log_mustnot user_run $ZFS_USER "zfs create $DATASET/zfsprivfs" 86 log_mustnot user_run $ZFS_USER "zfs create $DATASET/zfsprivfs" 87 log_must user_run $ZFS_USER "pfexec zfs create $DATASET/zfsprivfs" 90 log_mustnot user_run $ZFS_USER "zpool destroy $DATASET" 91 log_mustnot user_run $ZFS_USER "pfexec zpool destroy $DATASET" 97 log_mustnot user_run $ZFS_USER "zfs create $DATASET/zfsprivfs2" 98 log_mustnot user_run $ZFS_USER "pfexec zfs create $DATASET/zfsprivfs2" 102 log_must user_run $ZFS_USER "pfexec zfs destroy $DATASET/zfsprivfs"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_001_pos.ksh | 64 log_must user_run $PUSER mkdir $PRJDIR 68 log_must user_run $PUSER mkfile $PQUOTA_LIMIT $PRJDIR/qf 70 log_mustnot user_run $PUSER mkfile 1 $PRJDIR/of 76 log_must user_run $PUSER mkdir $PRJDIR 80 log_must user_run $PUSER mkfiles $PRJDIR/qf_ $((PQUOTA_OBJLIMIT - 1)) 82 log_mustnot user_run $PUSER mkfile 1 $PRJDIR/of 84 log_must user_run $PUSER touch $PRJFILE 85 log_must user_run $PUSER chattr -p 123 $PRJFILE 86 log_mustnot user_run $PUSER chattr -p $PRJID2 $PRJFILE
|
H A D | projectquota_003_pos.ksh | 65 log_must user_run $PUSER mkdir $PRJDIR 67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf 86 log_must user_run $PUSER mkdir $PRJDIR 89 log_must user_run $PUSER mkfiles $PRJDIR/qf_ $((file_count - 1))
|
H A D | projectspace_003_pos.ksh | 63 log_must user_run $PUSER mkdir $PRJDIR1 64 log_must user_run $PUSER mkdir $PRJDIR2 71 log_must user_run $PUSER mkfiles $PRJDIR1/qf $((prj_cnt1 - 1)) 72 log_must user_run $PUSER mkfiles $PRJDIR2/qf $((prj_cnt2 - 1))
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/limits/ |
H A D | snapshot_limit.ksh | 90 log_must user_run $STAFF1 zfs snapshot "$DATASET_TEST@snap" 91 log_mustnot user_run $STAFF1 zfs snapshot "$DATASET_TEST@snap_exceed" 97 log_must user_run $STAFF1 zfs snapshot "$DATASET_TEST@snap_notenforced_user" 106 log_mustnot user_run $STAFF1 \ 116 log_must user_run $STAFF1 \ 127 log_mustnot user_run $STAFF1 zfs promote "$DATASET_UTIL/promoted" 134 log_must user_run $STAFF1 zfs promote "$DATASET_UTIL/promoted" 144 log_mustnot user_run $STAFF1 \ 149 log_must user_run $STAFF1 \ 153 log_mustnot user_run $STAFF1 \ [all …]
|
H A D | filesystem_limit.ksh | 92 log_must user_run $STAFF1 zfs create -o canmount=off "$DATASET_TEST/create" 93 log_mustnot user_run $STAFF1 zfs create -o canmount=off "$DATASET_TEST/create_exceed" 97 log_must user_run $STAFF1 zfs clone -o canmount=off "$DATASET_TEST/create@snap" "$DATASET_TEST/clon… 98 log_mustnot user_run $STAFF1 zfs clone -o canmount=off "$DATASET_TEST/create@snap" "$DATASET_TEST/c… 104 log_must user_run $STAFF1 zfs create -o canmount=off "$DATASET_TEST/create_notenforced_user" 112 log_mustnot user_run $STAFF1 zfs rename "$DATASET_TEST/rename" "$DATASET_UTIL/renamed" 119 log_must user_run $STAFF1 zfs rename "$DATASET_TEST/rename" "$DATASET_UTIL/renamed_notenforced_user" 129 log_mustnot user_run $STAFF1 eval "zfs receive $DATASET_TEST/received < $ZSTREAM" 136 log_must user_run $STAFF1 eval "zfs receive $DATASET_TEST/received < $ZSTREAM"
|
/freebsd/tests/sys/cddl/zfs/tests/userquota/ |
H A D | userquota_001_pos.ksh | 69 log_must user_run $QUSER1 $TRUNCATE -s UQUOTA_SIZE $QFILE 71 log_mustnot user_run $QUSER1 $TRUNCATE -s 1 $OFILE 77 log_must user_run $QUSER1 $TRUNCATE -s $GQUOTA_SIZE $QFILE 79 log_mustnot user_run $TRUNCATE -s 1 $OFILE
|
H A D | userquota_010_pos.ksh | 67 log_must user_run $QUSER1 $MKFILE $UQUOTA_SIZE $QFILE 73 log_mustnot user_run $QUSER1 $MKFILE 1 $OFILE 78 log_mustnot user_run $QUSER1 $MKFILE $GQUOTA_SIZE $QFILE
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
H A D | userquota_001_pos.ksh | 60 log_must user_run $QUSER1 mkfile $UQUOTA_SIZE $QFILE 62 log_mustnot user_run $QUSER1 mkfile 1 $OFILE 68 log_must user_run $QUSER1 mkfile $GQUOTA_SIZE $QFILE 70 log_mustnot user_run $QUSER1 mkfile 1 $OFILE
|
H A D | userquota_013_pos.ksh | 64 log_must user_run $QUSER1 mkfiles ${QFILE}_1 100 66 log_mustnot user_run $QUSER1 mkfile 1 $OFILE 72 log_must user_run $QUSER1 mkfiles ${QFILE}_2 100 74 log_mustnot user_run $QUSER2 mkfile 1 $OFILE
|
H A D | userquota_010_pos.ksh | 59 log_must user_run $QUSER1 mkfile $UQUOTA_SIZE $QFILE 65 log_mustnot user_run $QUSER1 mkfile 1 $OFILE 70 log_mustnot user_run $QUSER1 mkfile $GQUOTA_SIZE $QFILE
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
H A D | xattr_003_neg.ksh | 62 log_mustnot user_run $ZFS_USER runat $testfile cat passwd 63 log_mustnot user_run $ZFS_USER runat $testfile cp /etc/passwd . 65 log_mustnot user_run $ZFS_USER " 72 log_mustnot user_run $ZFS_USER "
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/posix/ |
H A D | posix_001_pos.ksh | 68 log_must user_run $ZFS_ACL_STAFF1 \ 90 log_mustnot user_run $ZFS_ACL_STAFF1 "touch $TESTDIR/dir.0/file.1" 95 log_mustnot user_run $ZFS_ACL_STAFF1 $TESTDIR/file.0
|
H A D | posix_002_pos.ksh | 65 log_must user_run $ZFS_ACL_STAFF1 "touch $TESTDIR/dir.0/file.0" 68 log_mustnot user_run $ZFS_ACL_STAFF1 "ls -l $TESTDIR/dir.0"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/posix-sa/ |
H A D | posix_001_pos.ksh | 68 log_must user_run $ZFS_ACL_STAFF1 \ 90 log_mustnot user_run $ZFS_ACL_STAFF1 "touch $TESTDIR/dir.0/file.1" 95 log_mustnot user_run $ZFS_ACL_STAFF1 $TESTDIR/file.0
|