From: Andrea Gelmini Date: Fri, 30 Aug 2019 23:52:00 +0000 (+0200) Subject: Fix typos in tests/ X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b520706f29958b04146884b9554d4e81a62a31fa;p=zfs Fix typos in tests/ Reviewed-by: Ryan Moeller Reviewed-by: Richard Laager Reviewed-by: Brian Behlendorf Signed-off-by: Andrea Gelmini Closes #9245 --- diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh index 58dbde7f1..fb12862c9 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh @@ -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. # diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh index e25b51cb9..3e2aeb733 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh @@ -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 diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh index 24478f1bc..3cf73f001 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh @@ -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. # diff --git a/tests/zfs-tests/tests/functional/redundancy/redundancy_001_pos.ksh b/tests/zfs-tests/tests/functional/redundancy/redundancy_001_pos.ksh index e25a48be8..b5557f1f7 100755 --- a/tests/zfs-tests/tests/functional/redundancy/redundancy_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/redundancy/redundancy_001_pos.ksh @@ -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. # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh index da36609f2..3e5a78cf9 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh @@ -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 # diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh index 803e391c9..c904a807f 100755 --- a/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh +++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh @@ -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. # diff --git a/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh b/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh index cb8bd6b81..e5d8261e8 100755 --- a/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh +++ b/tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh @@ -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. # diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh index b72b8e4a3..b8220791f 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh @@ -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 diff --git a/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh b/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh index fbf4276e8..a0cd039b1 100755 --- a/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh +++ b/tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh @@ -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. diff --git a/tests/zfs-tests/tests/functional/rsend/rsend.kshlib b/tests/zfs-tests/tests/functional/rsend/rsend.kshlib index 7bfbc1aef..12af9d3fc 100644 --- a/tests/zfs-tests/tests/functional/rsend/rsend.kshlib +++ b/tests/zfs-tests/tests/functional/rsend/rsend.kshlib @@ -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 {