/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
H A D | userquota_011_pos.ksh | 38 # snapshot,clone,rename,upgrade,send,receive. 44 # 3. Check the user|group quota can not change during zfs rename|upgrade|promote 51 for ds in $TESTPOOL/fs $TESTPOOL/fs-rename $TESTPOOL/fs-clone; do 106 log_note "zfs rename can not change the previously set user|group quota" 107 log_must zfs rename $TESTPOOL/fs-rev $TESTPOOL/fs-rename 112 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rename "$UQUOTA_SIZE" 113 log_must check_quota "groupquota@$QGROUP" $TESTPOOL/fs-rename "$GQUOTA_SIZE" 116 log_must zfs upgrade $TESTPOOL/fs-rename 121 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rename " [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_003_pos.ksh | 36 # 'zfs rename' can address the abbreviated snapshot name. 40 # 2. Verify 'zfs rename' support the abbreviated snapshot name. 50 log_assert "'zfs rename' can address the abbreviated snapshot name." 61 log_must zfs rename $snap ${newname[$i]} 63 log_must zfs rename ${snap%%@*}@${newname[$i]##*@} $snap 68 log_pass "'zfs rename' address the abbreviated snapshot name passed."
|
H A D | zfs_rename_encrypted_child.ksh | 26 # 'zfs rename' should not move an encrypted child dataset outside of its 32 # 2. Attempt to rename the grandchild under an unencrypted parent 33 # 3. Attempt to rename the grandchild under a different encrypted parent 34 # 4. Attempt to rename the grandchild under the current parent 36 # 6. Attempt to rename the grandchild to a child 51 log_assert "'zfs rename' should not move an encrypted child outside of its" \ 61 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \ 64 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \ 67 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild \ 72 log_must zfs rename [all...] |
H A D | zfs_rename_007_pos.ksh | 95 log_must zfs rename $fs ${fs}-new 96 log_must zfs rename $fsclone ${fsclone}-new 107 log_must zfs rename ${fs}-new $fs 108 log_must zfs rename $snap ${snap}-new 129 log_must zfs rename $vol ${vol}-new 130 log_must zfs rename $volclone ${volclone}-new 143 log_must zfs rename ${vol}-new $vol 144 log_must zfs rename $snap ${snap}-new
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_005_neg.ksh | 40 # 2. When the snapshot length is 256, rename the filesystem. 92 log_mustnot $ZFS rename $basefs ${basefs}a 93 log_mustnot $ZFS rename $basefs ${basefs}-new 94 log_mustnot $ZFS rename $initfs ${initfs}-new 95 log_mustnot $ZFS rename $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS-new
|
/freebsd-current/tests/sys/cddl/zfs/tests/userquota/ |
H A D | userquota_011_pos.ksh | 35 # snapshot,clone,rename,upgrade,send,receive. 41 # 3. Check the user|group quota can not change during zfs rename|upgrade|promote 60 for ds in $TESTPOOL/fs $TESTPOOL/fs-rename $TESTPOOL/fs-clone; do 117 log_note "zfs rename can not change the previously set user|group quota" 118 log_must $ZFS rename $TESTPOOL/fs-rev $TESTPOOL/fs-rename 123 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rename "$UQUOTA_SIZE" 124 log_must check_quota "groupquota@$QGROUP" $TESTPOOL/fs-rename "$GQUOTA_SIZE" 127 log_must $ZFS upgrade $TESTPOOL/fs-rename 132 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rename " [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/ |
H A D | zfs_rename_003_pos.ksh | 36 # 'zfs rename' can address the abbreviated snapshot name. 40 # 2. Verify 'zfs rename' support the abbreviated snapshot name. 59 log_assert "'zfs rename' can address the abbreviated snapshot name." 70 log_must $ZFS rename $snap ${newname[$i]} 72 log_must $ZFS rename ${snap%%@*}@${newname[$i]##*@} $snap 77 log_pass "'zfs rename' address the abbreviated snapshot name passed."
|
H A D | zfs_rename_010_neg.ksh | 41 # 2. Verify none of them can be rename by rename -r. 55 # Check if current system support recursive rename 56 $ZFS rename 2>&1 | grep "rename -r" >/dev/null 2>&1 72 log_mustnot $ZFS rename $opts ${datasets[$i]} \
|
H A D | zfs_rename_007_pos.ksh | 55 # Check if current system support recursive rename 56 $ZFS rename 2>&1 | grep "rename -r" >/dev/null 2>&1 110 log_must $ZFS rename $fs ${fs}-new 111 log_must $ZFS rename $fsclone ${fsclone}-new 122 log_must $ZFS rename ${fs}-new $fs 123 log_must $ZFS rename $snap ${snap}-new 143 log_must $ZFS rename $vol ${vol}-new 144 log_must $ZFS rename $volclone ${volclone}-new 155 log_must $ZFS rename [all...] |
H A D | zfs_rename_009_neg.ksh | 42 # 3. Using rename -r command with exists snapshot name. 57 # Check if current system support recursive rename 58 $ZFS rename 2>&1 | grep "rename -r" >/dev/null 2>&1 63 log_assert "zfs rename -r failed, when snapshot name is already existing." 76 log_mustnot $ZFS rename -r ${TESTPOOL}@snap ${TESTPOOL}@snap2 91 log_pass "zfs rename -r failed, when snapshot name is already existing passed."
|
H A D | zfs_rename_013_pos.ksh | 36 # zfs rename -r can rename snapshot when child datasets 42 # 3. Verify rename -r snapshot correctly. 56 # Check if current system support recursive rename 57 $ZFS rename 2>&1 | grep "rename -r" > /dev/null 2>&1 81 log_assert "zfs rename -r can rename snapshot when child datasets" \ 87 log_must $ZFS rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new 91 log_must $ZFS rename [all...] |
/freebsd-current/tools/test/stress2/testcases/ |
H A D | Makefile | 15 rename \
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_005_neg.ksh | 40 # 2. When the snapshot length is 256, rename the filesystem. 87 log_mustnot zfs rename $basefs ${basefs}a 88 log_mustnot zfs rename $basefs ${basefs}-new 89 log_mustnot zfs rename $initfs ${initfs}-new 90 log_mustnot zfs rename $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS-new
|
/freebsd-current/contrib/pjdfstest/tests/granular/ |
H A D | 00.t | 57 expect 0 -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 61 expect 0 -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 67 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 70 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 94 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 97 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 102 expect 0 -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 106 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 108 expect 0 -u 65534 -g 65534 rename ../${n3}/${n1} ${n0}
|
/freebsd-current/contrib/pjdfstest/tests/rename/ |
H A D | 08.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/08.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename returns EPERM if the parent directory of the file pointed at by the 'to' argument has its immutable flag set" 38 expect EPERM rename ${n1} ${n0}/${n2} 53 expect 0 rename ${n1} ${n0}/${n2} 55 expect 0 rename ${n0}/${n2} ${n1}
|
H A D | 07.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/07.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename returns EPERM if the parent directory of the file pointed at by the 'from' argument has its immutable or append-only flag set" 39 expect EPERM rename ${n0}/${n1} ${n2} 41 expect ENOENT rename ${n2} ${n0}/${n1} 56 expect 0 rename ${n0}/${n1} ${n2} 57 expect 0 rename ${n2} ${n0}/${n1}
|
H A D | 06.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/06.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename returns EPERM if the file pointed at by the 'from' argument has its immutable, undeletable or append-only flag set" 35 expect EPERM rename ${n0} ${n1} 37 expect ENOENT rename ${n1} ${n0} 52 expect EPERM rename ${n0} ${n1} 54 expect ENOENT rename ${n1} ${n0}
|
H A D | 13.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/13.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename returns ENOTDIR when the 'from' argument is a directory, but 'to' is not a directory" 19 expect ENOTDIR rename ${n0} ${n1}
|
H A D | 14.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/14.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename returns EISDIR when the 'to' argument is a directory, but 'from' is not a directory" 19 expect EISDIR rename ${n1} ${n0}
|
H A D | 09.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/09.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename returns EACCES or EPERM if the directory containing 'from' is marked sticky, and neither the containing directory nor 'from' are owned by the effective user ID" 37 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3} 40 expect 0 -u 65534 -g 65534 rename ${n1}/${n3} ${n0}/${n2} 55 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3} 58 expect 0 -u 65534 -g 65534 rename ${n1}/${n3} ${n0}/${n2} 74 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3} 77 expect 0 -u 65534 -g 65534 rename ${n1}/${n3} ${n0}/${n2} 93 expect "EACCES|EPERM" -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3} 110 expect 0 -u 65534 -g 65534 rename [all...] |
H A D | 00.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/rename/00.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="rename changes file name" 25 expect 0 rename ${n0} ${n1} 31 expect 0 rename ${n1} ${n2} 42 expect 0 rename ${n0} ${n1} 54 expect 0 rename ${n1} ${n2} 61 # successful rename(2) updates ctime. 66 expect 0 rename ${n0} ${n1} 81 expect EACCES -u 65534 rename ${n0} ${n1}
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | rename4.sh | 58 if (rename(argv[1], argv[2]) == -1) 59 err(1, "rename(%s, %s)", argv[1], argv[2]);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zfs_rename_001_neg.ksh | 38 # zfs rename returns an error when run as a user 41 # 1. Attempt to rename a dataset 46 log_assert "zfs rename returns an error when run as a user" 48 log_mustnot zfs rename $TESTPOOL/$TESTFS/renameme $TESTPOOL/$TESTFS/renameme1 56 log_pass "zfs rename returns an error when run as a user"
|
/freebsd-current/usr.bin/gzip/ |
H A D | zforce | 47 echo $prog: cannot rename "$1" to "$n"
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | rename.cc | 44 char tmpfile[80] = "/tmp/fuse.rename.XXXXXX"; 68 ASSERT_NE(0, rename(FULLSRC, FULLDST)); 83 ASSERT_NE(0, rename(FULLSRC, FULLDST)); 116 in.body.rename.newdir == dst_dir_ino && 123 ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno); 151 in.body.rename.newdir == dst_dir_ino && 158 ASSERT_EQ(0, rename(FULLSRC, FULLDST)) << strerror(errno); 178 ASSERT_NE(0, rename(tmpfile, FULLB)); 181 ASSERT_NE(0, rename(FULLB, tmpfile)); 204 in.body.rename [all...] |