]> granicus.if.org Git - zfs/commitdiff
Fix typos in tests/
authorAndrea Gelmini <andrea.gelmini@gelma.net>
Tue, 3 Sep 2019 01:10:31 +0000 (03:10 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 3 Sep 2019 01:10:31 +0000 (18:10 -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 #9246

15 files changed:
tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh
tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh
tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh
tests/zfs-tests/tests/functional/history/history_005_neg.ksh
tests/zfs-tests/tests/functional/history/history_006_neg.ksh
tests/zfs-tests/tests/functional/history/history_007_pos.ksh
tests/zfs-tests/tests/functional/history/history_common.kshlib
tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh
tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh
tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh
tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh
tests/zfs-tests/tests/functional/no_space/enospc_df.ksh
tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh

index c2c911020410e78a32abe18c25175d53e5fc4df2..45fdb5b856925d8523b95905a342168c88b820dd 100755 (executable)
@@ -36,7 +36,7 @@
 #      zfs allow can deal with invalid arguments.(Invalid options or combination)
 #
 # STRATEGY:
-#      1. Verify invalid argumets will cause error.
+#      1. Verify invalid arguments will cause error.
 #      2. Verify non-optional argument was missing will cause error.
 #      3. Verify invalid options cause error.
 #
index bc925bc91c815080dc8f98c378db7db66d2069ac..03fc15a8a7cbe8dbf14ad4ace8bc000069edf7f1 100755 (executable)
@@ -129,7 +129,7 @@ do
        typeset -i timeout=0
        while true; do
                if ((timeout == $MAXTIMEOUT)); then
-                       log_fail "Timeout occured"
+                       log_fail "Timeout occurred"
                fi
                ((timeout++))
 
index 8650ceff7d1666b3e073a8aea0ae4f117bc233a4..25c23aecc308e75caa617be362d2f2fbdea94cea 100755 (executable)
@@ -116,7 +116,7 @@ for type in "mirror" "raidz" "raidz2" "raidz3"; do
 done
 
 # Rinse and repeat, this time faulting both devices at the same time
-# NOTE: "raidz" is exluded since it cannot survive 2 faulted devices
+# NOTE: "raidz" is excluded since it cannot survive 2 faulted devices
 # NOTE: "mirror" is a 4-way mirror here and should survive this test
 for type in "mirror" "raidz2" "raidz3"; do
        # 1. Create a pool with two hot spares
index f6a81a4ac5f2dbc66ff5476dcce8ba2bafe945bd..297a701cc5678e7939de2d30600a14cfeca64e6f 100755 (executable)
@@ -42,9 +42,9 @@
 #              zpool iostat
 #
 # STRATEGY:
-#      1. Create a test pool.
+#      1. Create a test pool
 #      2. Separately invoke zpool list|status|iostat
-#      3. Verify they was not recored in pool history.
+#      3. Verify they were not recorded in pool history
 #
 
 verify_runnable "global"
index a2da831c5cce7b0f9fa8cf6710ea355940e595a6..e97adc4e3ce022420ac15137f661190f1bf3aee8 100755 (executable)
@@ -40,7 +40,7 @@
 # STRATEGY:
 #      1. Create a test pool.
 #      2. Separately invoke zfs list|get|holds|mount|unmount|share|unshare|send
-#      3. Verify they were not recored in pool history.
+#      3. Verify they were not recorded in pool history.
 #
 
 verify_runnable "global"
index b65e855d8c70771a4d91035d7ccd678423479ff0..d1c92c5e7c20a4b6152f12bc0425af76518cbcd3 100755 (executable)
@@ -83,7 +83,7 @@ for arch in "i386" "sparc"; do
        TZ=$TIMEZONE zpool history $migratedpoolname | grep -v "^$" \
            >$migrated_cmds_f
        RET=$?
-       (( $RET != 0 )) && log_fail "zpool histroy $migratedpoolname fails."
+       (( $RET != 0 )) && log_fail "zpool history $migratedpoolname fails."
 
        # The migrated history file should differ with original history file on
        # two commands -- 'export' and 'import', which are included in migrated
index 80af2e903daa5b75d92de043b8fcbd944308cf9d..d97e015fcfef391cac0baf34412cc7af3ea2ab78 100644 (file)
@@ -224,7 +224,7 @@ function verify_allow
 
        #
        # Here, we determine three things:
-       # - Whether we're operating on a set or an indivdual permission (which
+       # - Whether we're operating on a set or an individual permission (which
        #   dictates the case of the first character in the code)
        # - The name of the dataset we're operating on.
        # - Whether the operation applies locally or to descendent datasets (or
index 63c68e66e4e448961a7742bfb05c09b823dcb930..aecdc5a3b078c41ba14a9ceba96c4b7e1c471d28 100755 (executable)
@@ -80,7 +80,7 @@ dumpdev=`dumpadm | grep "Dump device" | awk '{print $3}'`
 [[ -z "$dumpdev" ]] && log_untested "No dump device has been configured"
 
 [[ "$dumpdev" != "$diskslice" ]] && \
-    log_untested "Dump device has not been been configured to $diskslice"
+    log_untested "Dump device has not been configured to $diskslice"
 
 log_note "Attempt to zpool the dump device"
 unset NOINUSE_CHECK
index 95d505f35bf88cfbffb47e2ef28b317a3db7bfd4..b126f66a0c3e89cd373bd2a6dfc92bb515afd631 100755 (executable)
@@ -48,8 +48,8 @@ verify_runnable "global"
 function cleanup
 {
        #
-       # Essentailly this is the default_cleanup routine but I cannot get it
-       # to work correctly.  So its reproduced below.  Still need to full
+       # Essentially this is the default_cleanup routine but I cannot get it
+       # to work correctly.  So its reproduced below.  Still need to fully
        # understand why default_cleanup does not work correctly from here.
        #
         log_must zfs umount $TESTPOOL/$TESTFS
index ddc8fa7a49c2a286a582eda3488ebf9a54fbbd54..1f5510ae5e6e035ba2a7eb750f559bc2c3f02943 100755 (executable)
@@ -69,7 +69,7 @@ function verify_assertion #slices
                echo "y" | newfs -v $t > /dev/null 2>&1
                (( $? !=0 )) && \
                        log_fail "newfs over exported pool " \
-                               "failes unexpected."
+                               "fails unexpectedly."
        done
 
        return 0
index 3be20356ea0ee7ab1707ac829212a6b5795de403..f59603724e76084864a4e03a54c25ee0247f0a50 100755 (executable)
@@ -38,7 +38,7 @@
 # STRATEGY:
 # 1. largest_file will write to a file and increase its size
 # to the maximum allowable.
-# 2. The last byte of the file should be accessbile without error.
+# 2. The last byte of the file should be accessible without error.
 # 3. Writing beyond the maximum file size generates an 'errno' of
 # EFBIG.
 #
index 24150b827f8f9c6229a47d70e8619edb364b441c..2f4257993d4a53a13eadc9d8586d7a10cccc0c6c 100755 (executable)
@@ -33,7 +33,7 @@
 
 #
 # DESCRIPTION:
-# Writing to a file and mmaping that file at the
+# Writing to a file and mmapping that file at the
 # same time does not result in a deadlock.
 #
 # STRATEGY:
index bf1eb54a7389f33551df686d15e1c4b2b340325d..9c4552b0cfb072ef198166e9732105b1e0c9acd0 100755 (executable)
@@ -66,11 +66,11 @@ UBER_CHANGES=$(count_mmp_writes $TESTPOOL 10)
 log_note "Uberblock changed $UBER_CHANGES times"
 
 if [ $UBER_CHANGES -lt $MIN_UB_WRITES ]; then
-       log_fail "Fewer uberblock writes occured than expected ($EXPECTED)"
+       log_fail "Fewer uberblock writes occurred than expected ($EXPECTED)"
 fi
 
 if [ $UBER_CHANGES -gt $MAX_UB_WRITES ]; then
-       log_fail "More uberblock writes occured than expected ($EXPECTED)"
+       log_fail "More uberblock writes occurred than expected ($EXPECTED)"
 fi
 
 log_must set_tunable64 zfs_multihost_interval $MMP_INTERVAL_MIN
index b3df69141fe7faaa1f1df96699cfe5aea63462d2..b1eeaf2cc5699dd46c98c1a50fc92c877a0261df 100755 (executable)
@@ -58,7 +58,7 @@ log_must zfs umount $TESTPOOL/$TESTFS
 
 # Ensure the pool root filesystem shows in df output.
 # If the pool was full (available == 0) and the pool
-# root filesytem had very little in it (used < 1 block),
+# root filesystem had very little in it (used < 1 block),
 # the size reported to df was zero (issue #8253) and
 # df skipped the filesystem in its output.
 log_must eval "df -h | grep $TESTPOOL"
index c9d7b59b344b4f376763fdedb1fcfa75117c57a3..bd38883d75786dcfb0731a34f01b971144f88adf 100755 (executable)
@@ -24,7 +24,7 @@
 #
 # Strategy:
 # 1. Create an origin fs with compression and sha256.
-# 2. Clone origin such that it inherits the properies.
+# 2. Clone origin such that it inherits the properties.
 # 3. Use dd with the sync flag to test the sync write path.
 #