| /test/ontest-stc2/src/suites/zfs/tests/functional/delegate/ |
| delegate_common.kshlib | 53 log_must $ZFS destroy -Rf $ROOT_TESTFS 55 log_must $ZFS create $ROOT_TESTFS 59 log_must $ZFS destroy -Rf $ROOT_TESTVOL 61 log_must $ZFS create -V $VOLSIZE $ROOT_TESTVOL 360 log_must $ZFS create $SUBFS 363 log_must $ZFS allow -l $STAFF1 $LOCAL_SET $dtst 364 log_must $ZFS allow -d $STAFF2 $DESC_SET $dtst 365 log_must $ZFS allow $OTHER1 $LOCAL_DESC_SET $dtst 366 log_must $ZFS allow $OTHER2 $LOCAL_DESC_SET $dtst 399 log_must $ZFS snapshot $sna [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/delegate/ |
| delegate_common.kshlib | 53 log_must $ZFS destroy -Rf $ROOT_TESTFS 55 log_must $ZFS create $ROOT_TESTFS 59 log_must $ZFS destroy -Rf $ROOT_TESTVOL 61 log_must $ZFS create -V $VOLSIZE $ROOT_TESTVOL 360 log_must $ZFS create $SUBFS 363 log_must $ZFS allow -l $STAFF1 $LOCAL_SET $dtst 364 log_must $ZFS allow -d $STAFF2 $DESC_SET $dtst 365 log_must $ZFS allow $OTHER1 $LOCAL_DESC_SET $dtst 366 log_must $ZFS allow $OTHER2 $LOCAL_DESC_SET $dtst 399 log_must $ZFS snapshot $sna [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/cli_root/zfs_promote/ |
| zfs_promote_005_pos.ksh | 39 # The original fs was unmounted, 'zfs promote' still should succeed. 44 # 3. Unmount fs, then verify 'zfs promote' clone still succeed. 61 datasetexists $clone && log_must $ZFS destroy $clone 62 log_must $ZFS destroy $fssnap 65 log_must $ZFS promote $fs 66 log_must $ZFS destroy $clone 67 log_must $ZFS destroy $fssnap 71 log_assert "The original fs was unmounted, 'zfs promote' still should succeed." 78 log_must $ZFS snapshot $fssnap 79 log_must $ZFS clone $fssnap $clon [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cli_root/zfs_promote/ |
| zfs_promote_005_pos.ksh | 39 # The original fs was unmounted, 'zfs promote' still should succeed. 44 # 3. Unmount fs, then verify 'zfs promote' clone still succeed. 61 datasetexists $clone && log_must $ZFS destroy $clone 62 log_must $ZFS destroy $fssnap 65 log_must $ZFS promote $fs 66 log_must $ZFS destroy $clone 67 log_must $ZFS destroy $fssnap 71 log_assert "The original fs was unmounted, 'zfs promote' still should succeed." 78 log_must $ZFS snapshot $fssnap 79 log_must $ZFS clone $fssnap $clon [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/snapshot/ |
| snapshot_016_pos.ksh | 44 # 2. Verify destroying the renamed snapshot via 'zfs destroy' succeeds 61 log_must $ZFS destroy -Rf $SNAPFS 63 log_must $ZFS destroy -Rf $TESTPOOL/$TESTFS@snap_a 65 log_must $ZFS destroy -Rf $TESTPOOL/$TESTCLONE@snap_a 68 log_must $ZFS destroy $TESTPOOL/$TESTCLONE 70 log_must $ZFS destroy $TESTPOOL/$TESTFS 72 log_must $ZFS create $TESTPOOL/$TESTFS 73 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 81 log_must $ZFS snapshot $SNAPFS 85 log_fail "rename snapshot via mv in .zfs/snapshot fails. [all...] |
| rollback_003_pos.ksh | 66 log_must $ZFS mount -a 72 log_must $ZFS destroy $snap 79 log_must $ZFS destroy -r $fs 90 log_must $ZFS snapshot $SNAPPOOL 91 log_must $ZFS rollback $SNAPPOOL 92 log_mustnot $ZFS snapshot $SNAPPOOL 96 log_must $ZFS rollback $SNAPPOOL 97 log_must $ZFS create $TESTPOOL/$TESTFILE 99 log_must $ZFS rollback $SNAPPOOL 102 log_must $ZFS snapshot $TESTPOOL/$TESTFILE@$TESTSNA [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/snapshot/ |
| snapshot_016_pos.ksh | 44 # 2. Verify destroying the renamed snapshot via 'zfs destroy' succeeds 61 log_must $ZFS destroy -Rf $SNAPFS 63 log_must $ZFS destroy -Rf $TESTPOOL/$TESTFS@snap_a 65 log_must $ZFS destroy -Rf $TESTPOOL/$TESTCLONE@snap_a 68 log_must $ZFS destroy $TESTPOOL/$TESTCLONE 70 log_must $ZFS destroy $TESTPOOL/$TESTFS 72 log_must $ZFS create $TESTPOOL/$TESTFS 73 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 81 log_must $ZFS snapshot $SNAPFS 85 log_fail "rename snapshot via mv in .zfs/snapshot fails. [all...] |
| rollback_003_pos.ksh | 66 log_must $ZFS mount -a 72 log_must $ZFS destroy $snap 79 log_must $ZFS destroy -r $fs 90 log_must $ZFS snapshot $SNAPPOOL 91 log_must $ZFS rollback $SNAPPOOL 92 log_mustnot $ZFS snapshot $SNAPPOOL 96 log_must $ZFS rollback $SNAPPOOL 97 log_must $ZFS create $TESTPOOL/$TESTFILE 99 log_must $ZFS rollback $SNAPPOOL 102 log_must $ZFS snapshot $TESTPOOL/$TESTFILE@$TESTSNA [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/delegate/zfs_allow/ |
| zfs_allow_009_neg.ksh | 39 # zfs allow can deal with invalid arguments.(Invalid options or combination) 64 log_mustnot eval "$ZFS allow -s @$longset $dtst" 67 log_mustnot $ZFS allow -s @non-existent $dtst 68 log_mustnot $ZFS allow $STAFF "atime,created,mounted" $dtst 69 log_mustnot $ZFS allow $dtst $TESTPOOL 70 log_mustnot $ZFS allow -c $dtst 71 log_mustnot $ZFS allow -u $STAFF1 $dtst 72 log_mustnot $ZFS allow -u $STAFF1 -g $STAFF_GROUP "create,destroy" $dtst 73 log_mustnot $ZFS allow -u $STAFF1 -e "mountpoint" $dtst
|
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/delegate/zfs_allow/ |
| zfs_allow_009_neg.ksh | 39 # zfs allow can deal with invalid arguments.(Invalid options or combination) 64 log_mustnot eval "$ZFS allow -s @$longset $dtst" 67 log_mustnot $ZFS allow -s @non-existent $dtst 68 log_mustnot $ZFS allow $STAFF "atime,created,mounted" $dtst 69 log_mustnot $ZFS allow $dtst $TESTPOOL 70 log_mustnot $ZFS allow -c $dtst 71 log_mustnot $ZFS allow -u $STAFF1 $dtst 72 log_mustnot $ZFS allow -u $STAFF1 -g $STAFF_GROUP "create,destroy" $dtst 73 log_mustnot $ZFS allow -u $STAFF1 -e "mountpoint" $dtst
|
| /test/ontest-stc2/src/suites/zfs/tests/functional/history/ |
| history_004_pos.ksh | 65 $ZFS set compression=off $TESTPOOL/$TESTFS & 66 $ZFS set atime=off $TESTPOOL/$TESTFS & 67 $ZFS create $TESTPOOL/$TESTFS1 & 68 $ZFS create $TESTPOOL/$TESTFS2 & 69 $ZFS create $TESTPOOL/$TESTFS3 & 73 $ZFS snapshot $TESTPOOL/$TESTFS1@snap & 74 $ZFS snapshot $TESTPOOL/$TESTFS2@snap & 75 $ZFS snapshot $TESTPOOL/$TESTFS3@snap & 79 $ZFS clone $TESTPOOL/$TESTFS1@snap $TESTPOOL/clone1 & 80 $ZFS clone $TESTPOOL/$TESTFS2@snap $TESTPOOL/clone2 [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/refreserv/ |
| refreserv_005_pos.ksh | 61 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS 62 log_must $ZFS create $TESTPOOL/$TESTFS 63 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 70 log_must $ZFS create -V 10M $vol 73 log_must $ZFS set quota=25M $fs 74 log_must $ZFS set refreservation=10M $vol 76 log_mustnot $ZFS set refreservation=$avail $vol 79 log_must $ZFS set volsize=15M $vol 80 log_must $ZFS set refreservation=15M $vol 81 log_mustnot $ZFS set refreservation=16M $vo [all...] |
| refreserv_001_pos.ksh | 61 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS 62 log_must $ZFS create $TESTPOOL/$TESTFS 63 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 71 log_must $ZFS create $subfs 72 log_must $ZFS set quota=25M $fs 74 log_must $ZFS set reserv=10M $subfs 75 log_must $ZFS set refreserv=20M $subfs 81 log_must $ZFS set reserv=20M $subfs 82 log_must $ZFS set refreserv=10M $subfs
|
| /test/ontest-stc2/src/suites/zfs/tests/functional/rootpool/ |
| rootpool_003_neg.ksh | 45 # 1) check if the current system is installed as zfs rootfs 68 log_mustnot $ZFS rename $rootfs $rootpool/newfs 69 log_mustnot $ZFS rename -f $rootfs $rootpool/newfs 71 log_mustnot $ZFS destroy $rootfs 72 log_mustnot $ZFS destroy -f $rootfs 74 log_mustnot $ZFS destroy -R $rootfs
|
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/history/ |
| history_004_pos.ksh | 65 $ZFS set compression=off $TESTPOOL/$TESTFS & 66 $ZFS set atime=off $TESTPOOL/$TESTFS & 67 $ZFS create $TESTPOOL/$TESTFS1 & 68 $ZFS create $TESTPOOL/$TESTFS2 & 69 $ZFS create $TESTPOOL/$TESTFS3 & 73 $ZFS snapshot $TESTPOOL/$TESTFS1@snap & 74 $ZFS snapshot $TESTPOOL/$TESTFS2@snap & 75 $ZFS snapshot $TESTPOOL/$TESTFS3@snap & 79 $ZFS clone $TESTPOOL/$TESTFS1@snap $TESTPOOL/clone1 & 80 $ZFS clone $TESTPOOL/$TESTFS2@snap $TESTPOOL/clone2 [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/refreserv/ |
| refreserv_005_pos.ksh | 61 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS 62 log_must $ZFS create $TESTPOOL/$TESTFS 63 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 70 log_must $ZFS create -V 10M $vol 73 log_must $ZFS set quota=25M $fs 74 log_must $ZFS set refreservation=10M $vol 76 log_mustnot $ZFS set refreservation=$avail $vol 79 log_must $ZFS set volsize=15M $vol 80 log_must $ZFS set refreservation=15M $vol 81 log_mustnot $ZFS set refreservation=16M $vo [all...] |
| refreserv_001_pos.ksh | 61 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS 62 log_must $ZFS create $TESTPOOL/$TESTFS 63 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 71 log_must $ZFS create $subfs 72 log_must $ZFS set quota=25M $fs 74 log_must $ZFS set reserv=10M $subfs 75 log_must $ZFS set refreserv=20M $subfs 81 log_must $ZFS set reserv=20M $subfs 82 log_must $ZFS set refreserv=10M $subfs
|
| /test/ontest-stc2/src/suites/zfs/tests/functional/cli_user/zfs_list/ |
| zfs_list_002_pos.ksh | 38 # The sort functionality in 'zfs list' works as expected. 41 # 1. Using several zfs datasets with names, creation dates, checksum options 89 # same checksum options, so ZFS should revert to sorting them alphabetically by 101 log_assert "The sort functionality in 'zfs list' works as expected." 105 # will make zfs use that locale's sort order. 111 "$ZFS list -H -r -o name -s creation -t filesystem $TESTPOOL/$TESTFS" \ 115 "$ZFS list -H -r -o name -s creation -t volume $TESTPOOL/$TESTFS" \ 119 "$ZFS list -H -r -o name -s creation -t snapshot $TESTPOOL/$TESTFS" \ 124 "$ZFS list -H -r -o name -s checksum -t filesystem $TESTPOOL/$TESTFS" \ 128 "$ZFS list -H -r -o name -s checksum -t volume $TESTPOOL/$TESTFS" [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cli_user/zfs_list/ |
| zfs_list_002_pos.ksh | 38 # The sort functionality in 'zfs list' works as expected. 41 # 1. Using several zfs datasets with names, creation dates, checksum options 89 # same checksum options, so ZFS should revert to sorting them alphabetically by 101 log_assert "The sort functionality in 'zfs list' works as expected." 105 # will make zfs use that locale's sort order. 111 "$ZFS list -H -r -o name -s creation -t filesystem $TESTPOOL/$TESTFS" \ 115 "$ZFS list -H -r -o name -s creation -t volume $TESTPOOL/$TESTFS" \ 119 "$ZFS list -H -r -o name -s creation -t snapshot $TESTPOOL/$TESTFS" \ 124 "$ZFS list -H -r -o name -s checksum -t filesystem $TESTPOOL/$TESTFS" \ 128 "$ZFS list -H -r -o name -s checksum -t volume $TESTPOOL/$TESTFS" [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/delegate/zfs_unallow/ |
| zfs_unallow_005_pos.ksh | 64 log_must $ZFS allow -c $LOCAL_SET $ROOT_TESTFS 65 log_must $ZFS allow -l $STAFF1 create,mount $ROOT_TESTFS 68 user_run $STAFF1 $ZFS create $SUBFS 70 log_fail "ERROR: ($STAFF1): $ZFS create $SUBFS" 78 log_must $ZFS unallow -c $LOCAL_SET $ROOT_TESTFS 79 user_run $STAFF1 $ZFS create $SUBFS2 81 log_fail "ERROR: ($STAFF1): $ZFS create $SUBFS2"
|
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/delegate/zfs_unallow/ |
| zfs_unallow_005_pos.ksh | 64 log_must $ZFS allow -c $LOCAL_SET $ROOT_TESTFS 65 log_must $ZFS allow -l $STAFF1 create,mount $ROOT_TESTFS 68 user_run $STAFF1 $ZFS create $SUBFS 70 log_fail "ERROR: ($STAFF1): $ZFS create $SUBFS" 78 log_must $ZFS unallow -c $LOCAL_SET $ROOT_TESTFS 79 user_run $STAFF1 $ZFS create $SUBFS2 81 log_fail "ERROR: ($STAFF1): $ZFS create $SUBFS2"
|
| /test/ontest-stc2/src/suites/zfs/tests/functional/cli_root/zfs_unshare/ |
| zfs_unshare_001_pos.ksh | 39 # Verify that 'zfs unshare <filesystem|mountpoint>' unshares a given shared 44 # 2. Invoke 'zfs unshare <filesystem|mountpoint>' to unshare zfs file system 47 # 5. Verify that "zfs unshare -a" succeeds to unshare all zfs file systems. 65 log_must $ZFS set sharenfs=off ${mntp_fs[((i+1))]} 71 log_must $ZFS unmount $TESTDIR2 78 log_must $ZFS destroy -f $TESTPOOL/$TESTCLONE 82 log_must $ZFS destroy -f $TESTPOOL/$TESTFS2@snapshot 86 log_must $ZFS destroy -f $TESTPOOL/$TESTFS [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cli_root/zfs_set/ |
| zfs_set_003_neg.ksh | 39 # 'zfs set mountpoint/sharenfs' should fail when the mountpoint is invlid 43 # 2. Run zfs set mountpoint/sharenfs with invalid value 44 # 3. Verify that zfs set returns expected errors 64 log_must $ZFS destroy $TESTPOOL/foo 68 log_assert "'zfs set mountpoint/sharenfs' fails with invalid scenarios" 75 log_must $ZFS create -o mountpoint=legacy $TESTPOOL/foo 78 log_mustnot eval "$ZFS set mountpoint=$badpath $TESTPOOL/foo >/dev/null 2>&1" 81 log_mustnot eval "$ZFS set sharenfs=on $TESTPOOL/foo >/dev/null 2>&1" 84 log_mustnot eval "$ZFS set sharenfs= $TESTPOOL/foo >/dev/null 2>&1" 87 log_mustnot eval "$ZFS set mountpoint=/$longpath $TESTPOOL/foo >/dev/null 2>&1 [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cli_root/zfs_unshare/ |
| zfs_unshare_001_pos.ksh | 39 # Verify that 'zfs unshare <filesystem|mountpoint>' unshares a given shared 44 # 2. Invoke 'zfs unshare <filesystem|mountpoint>' to unshare zfs file system 47 # 5. Verify that "zfs unshare -a" succeeds to unshare all zfs file systems. 65 log_must $ZFS set sharenfs=off ${mntp_fs[((i+1))]} 71 log_must $ZFS unmount $TESTDIR2 78 log_must $ZFS destroy -f $TESTPOOL/$TESTCLONE 82 log_must $ZFS destroy -f $TESTPOOL/$TESTFS2@snapshot 86 log_must $ZFS destroy -f $TESTPOOL/$TESTFS [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/cli_root/zfs_destroy/ |
| zfs_destroy_007_neg.ksh | 63 log_must $ZFS promote $fs 65 datasetexists $clone && log_must $ZFS destroy $clone 66 datasetexists $fssnap && log_must $ZFS destroy $fssnap 81 log_must $ZFS snapshot $fssnap 82 log_must $ZFS clone $fssnap $clone 83 log_must $ZFS promote $clone 84 log_mustnot_expect "$KEY_WORDS" $ZFS destroy $fs 85 log_mustnot_expect "$KEY_WORDS" $ZFS destroy $clone
|