| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zoned_uid/ |
| H A D | zoned_uid_030_pos.ksh | 94 log_note "Test 1: full caps in namespace" 97 log_note "Test 1 passed" 100 log_note "Test 2: drop cap_sys_admin" 103 log_note "Test 2 passed" 106 log_note "Test 3: drop all caps" 109 log_note "Test 3 passed" 112 log_note "Test 4: verify CapEff bitmask" 123 log_note "CapEff full=$full_eff drop_sys_admin=$drop_eff" 130 log_note "Expected diff 0x200000 (CAP_SYS_ADMIN), got $diff" 131 log_note "This may indicate kernel cap numbering differs; non-fatal" [all …]
|
| H A D | zoned_uid_010_pos.ksh | 60 log_note "Created delegation root with child dataset" 63 log_note "Test 1: Setting quota from user namespace..." 70 log_note "Set quota output: $quota_result" 80 log_note "Quota set successfully to 100M" 83 log_note "Test 2: Setting compression from user namespace..." 90 log_note "Set compression output: $comp_result" 99 log_note "Compression set successfully to lz4" 106 log_note "Test 3: Setting atime on delegation root..." 113 log_note "Set atime output: $atime_result" 122 log_note "Atime set successfully on delegation root" [all …]
|
| H A D | zoned_uid_020_neg.ksh | 68 log_note "Create child output: $result" 75 log_note "Create snapshot output: $result" 83 log_note "Setup complete: child, child@snap1, myclone" 86 log_note "Test 1: zfs send from namespace..." 94 log_note "Correctly denied: zfs send (status=$status)" 97 log_note "Test 2: zfs rollback from namespace..." 105 log_note "Correctly denied: zfs rollback (status=$status)" 108 log_note "Test 3: zfs hold from namespace..." 116 log_note "Correctly denied: zfs hold (status=$status)" 119 log_note "Test 4: zfs bookmark from namespace..." [all …]
|
| H A D | zoned_uid_011_neg.ksh | 60 log_note "Created delegation root with zoned_uid=$ZONED_TEST_UID" 61 log_note "Will test access from user namespace owned by $ZONED_OTHER_UID" 66 log_note "Test 1: Checking visibility from wrong user namespace..." 71 log_note "List result (status=$list_status): $list_result" 74 log_note "Test 2: Attempting to create child from wrong namespace (should fail)..." 83 log_note "Create correctly denied: $create_result" 91 log_note "Test 3: Attempting to create snapshot from wrong namespace (should fail)..." 100 log_note "Snapshot correctly denied: $snap_result" 103 log_note "Test 4: Attempting to set property from wrong namespace (should fail)..." 112 log_note "Set property correctly denied: $prop_result" [all …]
|
| H A D | zoned_uid_027_pos.ksh | 62 log_note "Test ADD-7: create with CAP_SYS_ADMIN" 67 log_note "Output: $result" 70 log_note "ADD-7 passed: create allowed with SYS_ADMIN" 73 log_note "Test: snapshot with CAP_SYS_ADMIN" 77 log_note "Output: $result" 80 log_note "Snapshot passed with SYS_ADMIN" 83 log_note "Test: clone with CAP_SYS_ADMIN" 88 log_note "Output: $result" 91 log_note "Clone passed with SYS_ADMIN" 94 log_note "Test: destroy with CAP_SYS_ADMIN" [all …]
|
| H A D | zoned_uid_024_neg.ksh | 73 log_note "Test ADD-8: destroy with dsl_deleg + CAP_SYS_ADMIN" 78 log_note "Output: $result" 84 log_note "ADD-8 passed: destroy allowed with SYS_ADMIN" 87 log_note "Test ADD-9: destroy with dsl_deleg + CAP_FOWNER only" 94 log_note "ADD-9 passed: destroy denied with CAP_FOWNER only" 97 log_note "Test ADD-10: destroy with dsl_deleg + no caps" 104 log_note "ADD-10 passed: destroy denied without caps" 107 log_note "Test ADD-11: destroy without dsl_deleg grant" 115 log_note "ADD-11 passed: destroy denied without dsl_deleg" 121 log_note "Test ADD-12: rename with dsl_deleg + CAP_SYS_ADMIN" [all …]
|
| H A D | zoned_uid_022_neg.ksh | 68 log_note "Admin set filesystem_limit=10, snapshot_limit=5 on delegation root" 71 log_note "Test 1: filesystem_limit=none on root from namespace..." 78 log_note "Correctly denied: $result" 81 log_note "Test 2: filesystem_limit=100 on root from namespace..." 87 log_note "Correctly denied: $result" 90 log_note "Test 3: snapshot_limit=none on root from namespace..." 96 log_note "Correctly denied: $result" 109 log_note "Admin limits unchanged on delegation root" 115 log_note "Create child output: $result" 120 log_note "Test 4: filesystem_limit=3 on child from namespace..." [all …]
|
| H A D | zoned_uid_023_pos.ksh | 67 log_note "Test ADD-1: create with dsl_deleg + CAP_FOWNER" 72 log_note "Output: $result" 75 log_note "ADD-1 passed: create allowed" 78 log_note "Test ADD-2: create with dsl_deleg + no caps" 84 log_note "ADD-2 passed: create denied without caps" 92 log_note "Test ADD-3: create without dsl_deleg grant" 99 log_note "ADD-3 passed: create denied without dsl_deleg" 109 log_note "Test ADD-5: snapshot with dsl_deleg + CAP_FOWNER" 113 log_note "Output: $result" 116 log_note "ADD-5 passed: snapshot allowed" [all …]
|
| H A D | zoned_uid_025_pos.ksh | 61 log_note "Test ADD-14: list delegated dataset with no caps" 66 log_note "Output: $result" 69 log_note "ADD-14 passed: list allowed" 72 log_note "Test: get properties with no caps" 76 log_note "Output: $result" 79 log_note "Get properties passed" 82 log_note "Test: list child dataset with no caps" 86 log_note "Output: $result" 89 log_note "List child passed" 92 log_note "Test: list non-delegated dataset from namespace" [all …]
|
| H A D | zoned_uid_009_pos.ksh | 66 log_note "Created delegation root with children and outside dataset" 77 log_note "Test 1: Renaming within delegation subtree..." 85 log_note "Rename output: $rename_result" 94 log_note "Rename within subtree succeeded" 97 log_note "Test 2: Moving dataset within subtree..." 105 log_note "Move output: $move_result" 110 log_note "Move within subtree succeeded" 113 log_note "Test 3: Attempting to rename outside subtree (should fail)..." 124 log_note "Rename outside subtree correctly denied: $escape_result" 128 log_note "Dataset remains in delegation subtree" [all …]
|
| H A D | zoned_uid_017_neg.ksh | 62 log_note "Created delegation root and child with zoned_uid=$ZONED_TEST_UID" 65 log_note "Test 1: Attempting zfs set zoned_uid=none on child from namespace..." 74 log_note "Correctly denied: $result" 82 log_note "Child zoned_uid still $ZONED_TEST_UID (inherited)" 85 log_note "Test 2: Attempting zfs set zoned_uid=$ZONED_OTHER_UID on child..." 93 log_note "Correctly denied: $result" 96 log_note "Test 3: Attempting zfs set zoned_uid=$ZONED_TEST_UID on child..." 104 log_note "Correctly denied: $result" 107 log_note "Test 4: Attempting zfs set zoned_uid=none on delegation root..." 115 log_note "Correctly denied: $result" [all …]
|
| H A D | zoned_uid_016_pos.ksh | 68 log_note "Create child output: $result" 75 log_note "Create snapshot output: $result" 79 log_note "Created child1@snap1 from namespace" 85 log_note "List snapshot output: $result" 88 log_note "Snapshot visible from namespace" 96 log_note "Destroy snapshot output: $result" 104 log_note "child1@snap1 destroyed successfully from namespace" 110 log_note "Create root snapshot output: $result" 114 log_note "Created deleg_root@rootsnap from namespace" 122 log_note "Destroy root snapshot output: $result" [all …]
|
| H A D | zoned_uid_008_pos.ksh | 63 log_note "Created delegation root with children and snapshot" 72 log_note "Test 1: Destroying snapshot from user namespace..." 79 log_note "Destroy snapshot output: $snap_result" 87 log_note "Snapshot destroyed successfully" 90 log_note "Test 2: Destroying child dataset from user namespace..." 97 log_note "Destroy child output: $child_result" 105 log_note "Child dataset destroyed successfully" 108 log_note "Test 3: Attempting to destroy delegation root (should fail)..." 118 log_note "Delegation root destruction correctly denied: $root_result" 122 log_note "Delegation root still exists (protected)" [all …]
|
| H A D | zoned_uid_026_pos.ksh | 68 log_note "Pool delegation disabled" 71 log_note "Test DOFF-1: create with CAP_FOWNER (delegation off)" 78 log_note "DOFF-1 passed: create denied (delegation off)" 81 log_note "Test DOFF-2: destroy with CAP_SYS_ADMIN (delegation off)" 88 log_note "DOFF-2 passed: destroy denied (delegation off)" 91 log_note "Test DOFF-3: create with all caps (delegation off)" 97 log_note "DOFF-3 passed: create denied (delegation off)" 100 log_note "Test DOFF-4: list with no caps (delegation off)" 104 log_note "Output: $result" 107 log_note "DOFF-4 passed"
|
| H A D | zoned_uid_007_pos.ksh | 61 log_note "Delegation root created with zoned_uid=$ZONED_TEST_UID" 64 log_note "Attempting to create snapshot from user namespace..." 72 log_note "Snapshot output: $snap_result" 76 log_note "Snapshot created successfully from user namespace" 80 log_note "Snapshot verified from global zone" 89 log_note "List output: $list_result" 93 log_note "Snapshot visible from user namespace" 96 log_note "Testing snapshot of delegation root..." 103 log_note "Root snapshot output: $root_snap_result" 108 log_note "Delegation root snapshot created successfully"
|
| H A D | zoned_uid_018_pos.ksh | 67 log_note "Create child output: $result" 75 log_note "Create snapshot output: $result" 79 log_note "Created child@snap1 from namespace" 88 log_note "Clone output: $result" 100 log_note "Clone exists with correct origin" 106 log_note "Create under clone output: $result" 109 log_note "Clone is writable from namespace" 112 log_note "Attempting clone to outside subtree..." 121 log_note "Correctly denied clone to outside subtree: $result" 127 log_note "Outside clone correctly does not exist"
|
| H A D | zoned_uid_031_pos.ksh | 70 log_note "Test: rename child from namespace" 76 log_note "Output: $result" 80 log_note "Rename succeeded" 84 log_note "Test: destroy renamed child from namespace" 88 log_note "Output: $result" 91 log_note "Destroy succeeded" 94 log_note "Test: admin removes zoned_uid delegation" 101 log_note "Test: verify no stale visibility after delegation removal" 108 log_note "No stale visibility: delegation root correctly hidden"
|
| H A D | zoned_uid_013_pos.ksh | 61 log_note "Created delegation root with child dataset" 64 log_note "Test 1: Setting userquota from user namespace..." 71 log_note "Set userquota output: $uq_result" 81 log_note "Userquota set successfully ($actual_uq bytes)" 84 log_note "Test 2: Setting groupquota from user namespace..." 91 log_note "Set groupquota output: $gq_result" 101 log_note "Groupquota set successfully ($actual_gq bytes)" 104 log_note "Test 3: Setting userquota on delegation root..." 111 log_note "Set userquota on root output: $root_uq_result" 120 log_note "Delegation root userquota set successfully ($actual_root_uq bytes)"
|
| H A D | zoned_uid_003_pos.ksh | 59 log_note "Dataset is visible from global zone" 63 log_note "Can retrieve properties from global zone" 71 log_note "zoned_uid appears in property listing: $list_output" 75 log_note "Can create child dataset" 79 log_note "Child dataset is visible" 86 log_note "Can write data to dataset" 90 log_note "Can read data from dataset" 94 log_note "Can create snapshot" 98 log_note "Snapshot is visible"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inuse/ |
| H A D | inuse_003_pos.ksh | 60 log_note "Kill off ufsdump process if still running" 70 log_note "Kill off ufsrestore process if still running" 95 log_note "Make a ufs filesystem on source $rawdisk1" 101 log_note "mount source $disk1 on $UFSMP" 104 log_note "Now create some directories and files to be ufsdump'ed" 125 log_note "Start ufsdump in the background" 126 log_note "ufsdump 0bf 512 $rawdisk0 $disk1" 131 log_note "Attempt to zpool the source device in use by ufsdump" 135 log_note "Attempt to take the source device in use by ufsdump as spare device" 148 log_note "Start ufsrestore in the background from the target device" [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/ |
| H A D | dio_property.ksh | 69 log_note "Aligned writes (buffered, then all direct)" 72 log_note "Aligned overwrites" 75 log_note "Sub-recordsize unaligned overwrites" 78 log_note "Sub-page size aligned overwrites" 82 log_note "Aligned reads" 85 log_note "Sub-recordsize unaligned reads" 88 log_note "Sub-page size aligned reads (one read then ARC hits)" 101 log_note "Aligned writes (all buffered with an extra for create)" 104 log_note "Aligned overwrites" 107 log_note "Aligned reads (all ARC hits)" [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | import_rewind_config_changed.ksh | 154 log_note "" 163 log_note "$0: pool '$poolcreate', add $addvdevs." 167 log_note "Retry $retry / 5 for test_add_vdevs()" 179 log_note "$0: pool '$poolcreate', attach $attachvdev to $attachto." 183 log_note "Retry $retry / 5 for test_attach_vdev()" 194 log_note "$0: pool '$poolcreate', detach $detachvdev." 198 log_note "Retry $retry / 5 for test_detach_vdev()" 211 log_note "$0: pool '$poolcreate', attach $attachvdev to $attachto," \ 217 log_note "Retry $retry / 5 for test_attach_detach_vdev()" 229 log_note "$0: pool '$poolcreate', remove $removevdev." [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
| H A D | history_common.kshlib | 118 log_note "Couldn't find long information for \"$cmd\"" 143 log_note "Didn't find hold on $ds with $tag" 172 log_note "Didn't find rollback clone swap in pool history" 177 log_note "Didn't find rollback destroy in pool history" 198 log_note "Didn't find inherit history for $ds" 248 log_note "Couldn't find $code in $NEW_HISTORY" 257 log_note "Couldn't find $code in $NEW_HISTORY" 269 log_note "Couldn't find $code in $NEW_HISTORY" 276 log_note "Couldn't find $code in $NEW_HISTORY" 289 log_note "Couldn't find $code in $NEW_HISTORY" [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/largest_pool/ |
| H A D | largest_pool_001_pos.ksh | 71 log_note "Detect zpool $TESTPOOL in this test machine." 76 log_note "Detect the file system in this test machine." 89 log_note "Start cleanup the zfs and pool" 122 log_note "Create a pool which will contain a volume device" 125 log_note "Create a volume device of desired sizes: $volsize" 140 log_note "Create the largest pool allowed using the volume vdev" 143 log_note "Create a zfs file system in the largest pool" 146 log_note "Parse the execution result" 149 log_note "unmount this zfs file system $TESTPOOL/$TESTFS" 152 log_note "Destroy zfs, volume & zpool"
|
| /freebsd/tests/sys/cddl/zfs/tests/largest_pool/ |
| H A D | largest_pool_001_pos.ksh | 73 log_note "Detect zpool $TESTPOOL in this test machine." 78 log_note "Detect the file system in this test machine." 91 log_note "Start cleanup the zfs and pool" 125 log_note "Create a pool which will contain a volume device" 128 log_note "Create a volume device of desired sizes: $volsize" 144 log_note "Create the largest pool allowed using the volume vdev" 147 log_note "Create a zfs file system in the largest pool" 150 log_note "Parse the execution result" 153 log_note "unmount this zfs file system $TESTPOOL/$TESTFS" 156 log_note "Destroy zfs, volume & zpool"
|