Home
last modified time | relevance | path

Searched refs:user_run (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Ddosmode.ksh92 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 Dposixmode.ksh86 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 Ddelegate_common.kshlib344 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 Dzfs_allow_008_pos.ksh64 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 Dzfs_unallow_005_pos.ksh56 user_run $STAFF1 zfs create $SUBFS
67 user_run $STAFF1 zfs create $SUBFS2
/freebsd/tests/sys/cddl/zfs/tests/delegate/
H A Ddelegate_common.kshlib153 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 Dzfs_allow_008_pos.ksh73 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 Dzfs_unallow_005_pos.ksh65 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 Dchattr_002_neg.ksh63 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 Dprivilege_001_pos.ksh69 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 Dprivilege_002_pos.ksh80 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 Dprojectquota_001_pos.ksh64 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 Dprojectquota_003_pos.ksh65 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 Dprojectspace_003_pos.ksh63 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 Dsnapshot_limit.ksh90 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 Dfilesystem_limit.ksh92 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 Duserquota_001_pos.ksh69 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 Duserquota_010_pos.ksh67 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 Duserquota_001_pos.ksh60 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 Duserquota_013_pos.ksh64 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 Duserquota_010_pos.ksh59 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 Dxattr_003_neg.ksh62 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 Dposix_001_pos.ksh68 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 Dposix_002_pos.ksh65 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 Dposix_001_pos.ksh68 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

123