]> granicus.if.org Git - zfs/commitdiff
Fix typos in tests/
authorAndrea Gelmini <andrea.gelmini@gelma.net>
Fri, 30 Aug 2019 23:52:00 +0000 (01:52 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Aug 2019 23:52:00 +0000 (16:52 -0700)
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

tests/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh
tests/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh
tests/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh
tests/zfs-tests/tests/functional/redundancy/redundancy_001_pos.ksh
tests/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh
tests/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh
tests/zfs-tests/tests/functional/removal/removal_nopwrite.ksh
tests/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh
tests/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend.kshlib

index 58dbde7f16e03740379fba943dc0ab32f9a8d1d1..fb12862c9531b994511ce748cbc616e119a68abd 100755 (executable)
@@ -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.
 #
index e25b51cb9b93c0368c30b5482467634e0253344a..3e2aeb733546b8a21c5095b59affb2fd6e4518e3 100755 (executable)
@@ -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
index 24478f1bc1822792fe89f43e3e04d732ab2cb0ff..3cf73f00167e62721d9fe605dc2b532e0158c1b1 100755 (executable)
@@ -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.
 #
 
index e25a48be8df39c39d1e7ee88d2df81e3fb92393c..b5557f1f7e442f006d608dc7e668e2ec8f675c0c 100755 (executable)
@@ -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.
 #
 
index da36609f2c4149cd7eade34de9678fd07368ecab..3e5a78cf944f0faac9c215d87713794c58b46f3c 100755 (executable)
@@ -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
 #
index 803e391c9ce42d5233a2104f0c76079aaf017145..c904a807f17c4e9be6234cbb6d392fb7805a8885 100755 (executable)
@@ -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.
 #
index cb8bd6b810c1658ec827cf07c8c589d17a9bf636..e5d8261e80b6709c49384b386c2107ca7cea25b6 100755 (executable)
@@ -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.
 #
 
index b72b8e4a388e11e9b920961130855d12f5ddc153..b8220791f1d47e1778335fd76d96ecab0a9a5a44 100755 (executable)
@@ -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
index fbf4276e8bda2bf28400dfce799b84ec3a4b7328..a0cd039b1839722acd272d3d4f319a52e70a9bba 100755 (executable)
@@ -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.
index 7bfbc1aef37308b43417acc541908a5c1f7a2560..12af9d3fcd0494a507f9f5432761cb7276553400 100644 (file)
@@ -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
 {