mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Fix typos in tests/
Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Closes #9245
This commit is contained in:
parent
9f5c1bc609
commit
b520706f29
@ -28,7 +28,7 @@
|
||||
# 4. A file moved in the clone does not redact the file.
|
||||
# 5. A copied, then removed file in the clone redacts the whole file.
|
||||
# 6. Overwriting a file with identical contents redacts the file.
|
||||
# 7. A paritally modified block redacts the entire block.
|
||||
# 7. A partially modified block redacts the entire block.
|
||||
# 8. Only overlapping areas of modified ranges are redacted.
|
||||
# 9. Send from the root dataset of a pool work correctly.
|
||||
#
|
||||
|
@ -65,7 +65,7 @@ log_must mount_redacted -f $recvfs
|
||||
#
|
||||
# We have temporarily disabled redaction blkptrs, so this will not
|
||||
# fail as was originally intended. We should uncomment this line
|
||||
# when we reenable redaction blkptrs.
|
||||
# when we re-enable redaction blkptrs.
|
||||
#
|
||||
#log_mustnot dd if=$recv_mnt/f1 of=/dev/null bs=512 count=1
|
||||
log_must diff $send_mnt/f2 $recv_mnt/f2
|
||||
|
@ -26,7 +26,7 @@
|
||||
# 1. Create a pool with all features disabled.
|
||||
# 2. Verify redacted send fails.
|
||||
# 3. Enable redaction_bookmarks and verify redacted sends works.
|
||||
# 4. Verify recepit of a redacted stream fails.
|
||||
# 4. Verify receipt of a redacted stream fails.
|
||||
# 5. Enable recacted_datasets and verify zfs receive works.
|
||||
#
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
# 3. Fill the filesystem with directories and files.
|
||||
# 4. Record all the files and directories checksum information.
|
||||
# 5. Damaged one of the virtual disk file.
|
||||
# 6. Verify the data is correct to prove raidz can withstand 1 devicd is
|
||||
# 6. Verify the data is correct to prove raidz can withstand 1 device is
|
||||
# failing.
|
||||
#
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
# space outside of this refreservation.
|
||||
#
|
||||
# STRATEGY:
|
||||
# 1. Setting quota and refservation
|
||||
# 1. Setting quota and refreservation
|
||||
# 2. Verify snapshot can be created, when used =< quota - refreserv
|
||||
# 3. Verify failed to create snapshot, when used > quota - refreserv
|
||||
#
|
||||
|
@ -125,7 +125,7 @@ done
|
||||
log_note "sizes=$(print -C sizes)"
|
||||
|
||||
#
|
||||
# Helper furnction for checking that refreservation is calculated properly in
|
||||
# Helper function for checking that refreservation is calculated properly in
|
||||
# multi-vdev pools. "Properly" is defined as assuming that all vdevs are as
|
||||
# space inefficient as the worst one.
|
||||
#
|
||||
|
@ -64,7 +64,7 @@ log_mustnot vdevs_in_pool $TESTPOOL $REMOVEDISK
|
||||
#
|
||||
# Normally, we expect nopwrites to avoid allocating new blocks, but
|
||||
# after a device has been removed the DVAs will get remapped when
|
||||
# a L0's indirect bloock is written. This will negate the effects
|
||||
# a L0's indirect block is written. This will negate the effects
|
||||
# of nopwrite and should result in new allocations.
|
||||
#
|
||||
|
||||
|
@ -115,7 +115,7 @@ for obj in $TESTPOOL/$TESTFS $OBJ_LIST; do
|
||||
|
||||
#
|
||||
# Due to the way space is consumed and released by metadata we
|
||||
# can't do an exact check here, but we do do a basic sanity
|
||||
# can't do an exact check here, but we do a basic sanity
|
||||
# check.
|
||||
#
|
||||
log_must within_limits $space_avail $new_space_avail $RESV_TOLERANCE
|
||||
|
@ -85,7 +85,7 @@ resv_size_set=`expr $resv_space_avail / $num_resv_fs`
|
||||
|
||||
#
|
||||
# We set the reservations now, rather than when we created the filesystems
|
||||
# to allow us to take into account space used by the filsystem metadata
|
||||
# to allow us to take into account space used by the filesystem metadata
|
||||
#
|
||||
# Note we don't set a reservation on the first filesystem we created,
|
||||
# hence num=1 rather than zero below.
|
||||
|
@ -343,7 +343,7 @@ function getds_with_suffix
|
||||
}
|
||||
|
||||
#
|
||||
# Output inherited properties whitch is edited for file system
|
||||
# Output inherited properties which is edited for file system
|
||||
#
|
||||
function fs_inherit_prop
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user