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

15 files changed:
tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib
tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh

index 83cd0a27c300093fb97cc1ff6b0fd054e1010ba2..1e129ddd3bc9c5aff9821ec6ea6d7f5decb41237 100755 (executable)
@@ -157,7 +157,7 @@ verify_snapshots 1
 
 snaps="1 2 3 4 5"
 setup_snapshots
-log_note "Snapshot destory with hold"
+log_note "Snapshot destroy with hold"
 range="1 2 3 4 5"
 for i in 1 2 3 4 5; do
        log_must zfs hold keep $TESTPOOL/$TESTFS1@snap$i
index 6669426b0c7b2102b0acaf9f79c1aa3dd2ecba1b..c427e4bc4470440cfe38975a16ecbdf9a49e235c 100755 (executable)
@@ -30,7 +30,7 @@
 #        destroyed
 # 3. Multiple clones with empty livelists
 #      - same as 1. but with multiple clones
-# 4. Multuple clones with populated livelists
+# 4. Multiple clones with populated livelists
 #      - same as 2. but with multiple clones
 
 . $STF_SUITE/include/libtest.shlib
index 895efaf988a3d28e0f4333728e58cf8d52fcfdfb..504e3a580ab32cdddf4ae4ef1c74144beddb74db 100644 (file)
@@ -56,7 +56,7 @@ function setup_testenv #[dtst]
        if ! datasetexists $FS; then
                log_must zfs create $FS
        fi
-       # Volume test is only availible on globle zone
+       # Volume test is only available on global zone
        if ! datasetexists $VOL && is_global_zone; then
                log_must zfs create -V $VOLSIZE $VOL
                block_device_wait
@@ -127,7 +127,7 @@ function check_dataset
        shift
 
        for dtst in "$@"; do
-               # Volume and related stuff are unvailable in local zone
+               # Volume and related stuff are unavailable in local zone
                if ! is_global_zone; then
                        if [[ $dtst == $VOL || $dtst == $VOLSNAP || \
                                $dtst == $VOLCLONE ]]
@@ -140,7 +140,7 @@ function check_dataset
 
        if (( ${#newlist} != 0 )); then
                # Run each item in $newlist individually so on failure, the
-               # probelmatic dataset is listed in the logs.
+               # problematic dataset is listed in the logs.
                for i in $newlist; do
                        log_must $funname $i
                done
index 30c4b2ddac0d2774a9f6699dd31db86a7d47d4cd..b6442de40e9b453e95e05fedcc71391664f08968 100755 (executable)
@@ -61,7 +61,7 @@ log_must zfs snapshot $TESTPOOL2/$TESTFS@snap
 
 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE
 
-# Create inital files and pause condense zthr on next execution
+# Create initial files and pause condense zthr on next execution
 log_must mkfile 10m /$TESTPOOL2/$TESTCLONE/A
 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/B
 log_must zpool sync $TESTPOOL2
index b038e7484ab276c3663fb08eb7bfda1db6331cd5..4bd61137c7be43a3c28c7b54e4232d4d8047ec06 100755 (executable)
@@ -114,7 +114,7 @@ availspace=$(get_prop available $TESTPOOL)
 typeset -i i=0
 
 # make sure 'availspace' is larger then twice of FILESIZE to create a new pool.
-# If any, we only totally create 3 pools for multple datasets testing to limit
+# If any, we only totally create 3 pools for multiple datasets testing to limit
 # testing time
 while (( availspace > DFILESIZE )) && (( i < 3 )) ; do
        (( i += 1 ))
index 584039f543c68af42f3e333048cff3249b83c1e7..3ef65b517c6d8a0c8292053d94d7351b08016e49 100755 (executable)
@@ -36,8 +36,8 @@
 # 'zfs inherit' should return an error with bad parameters in one command.
 #
 # STRATEGY:
-# 1. Set an array of bad options and invlid properties to 'zfs inherit'
-# 2. Execute 'zfs inherit' with bad options and passing invlid properties
+# 1. Set an array of bad options and invalid properties to 'zfs inherit'
+# 2. Execute 'zfs inherit' with bad options and passing invalid properties
 # 3. Verify an error is returned.
 #
 
index bc0d8c59c0cdf1af173a768070977da1ea8b79a1..3317b09e2b5b3968050eda262c1f5b58da0d9902 100755 (executable)
@@ -37,8 +37,8 @@
 # 'zfs inherit' should return an error with bad parameters in one command.
 #
 # STRATEGY:
-# 1. Set an array of bad options and invlid properties to 'zfs inherit'
-# 2. Execute 'zfs inherit' with bad options and passing invlid properties
+# 1. Set an array of bad options and invalid properties to 'zfs inherit'
+# 2. Execute 'zfs inherit' with bad options and passing invalid properties
 # 3. Verify an error is returned.
 #
 
index e2ef0bf00db0f5332cc9368162061f2758532814..52ae1879d1aeb73746da5b77ed001c9f6c8b03c3 100755 (executable)
@@ -45,7 +45,7 @@
 #        setuid                setuid/nosetuid
 #
 # STRATEGY:
-#      1. Create filesystem and get origianl property value.
+#      1. Create filesystem and get original property value.
 #      2. Using 'zfs mount -o' to set filesystem property.
 #      3. Verify the property was set temporarily.
 #      4. Verify it will not affect the property that is stored on disk.
index 5f88b611002a49914be1bb0e582caef23a3464f6..84835a0d6d62bfd4ca15cb2313172a5096d13cf4 100755 (executable)
@@ -83,7 +83,7 @@ log_must mkfile 1M $mntpnt/$TESTFILE2
 log_mustnot ls $testfile
 log_must ls $mntpnt/$TESTFILE1 $mntpnt/$TESTFILE2
 
-# Verify $TESTFILE2 was created in $fs1, rather then $fs
+# Verify $TESTFILE2 was created in $fs1, rather than $fs
 log_must zfs unmount $fs1
 log_must zfs set mountpoint=$mntpnt1 $fs1
 log_must zfs mount $fs1
index 963ad626c2d0388ee467e9e3767b552b4e99fd91..0b5d61f62f4029d93ab5a00859e7fc916a5613f1 100755 (executable)
@@ -72,4 +72,4 @@ else
 fi
 cd $curpath
 
-log_pass "zfs mount fails with mounted filesystem or busy moutpoint as expected."
+log_pass "zfs mount fails with mounted filesystem or busy mountpoint as expected."
index f7a0978352b552a457f6090cf465d0ba0e15cc50..66a4338655de301e6e351ac5f1ea25241fd8c887 100755 (executable)
@@ -29,7 +29,7 @@
 
 #
 # DESCRIPTION:
-# Verify remount functionality, expecially on readonly objects.
+# Verify remount functionality, especially on readonly objects.
 #
 # STRATEGY:
 # 1. Prepare a filesystem and a snapshot
index bf94274ddbf85283923066c2ae4087c411471b43..9a2d3cb802561607c5f202831d77a0f53cf3503d 100755 (executable)
@@ -17,7 +17,7 @@
 #
 # DESCRIPTION
 # Verify that "zfs list" gives correct values for written and written@
-# proerties for the dataset when different operations are on done on it
+# properties for the dataset when different operations are on done on it
 #
 #
 # STRATEGY
@@ -86,7 +86,7 @@ blocks=0
 for i in 1 2 3; do
        written=$(get_prop written $TESTPOOL/$TESTFS1@snap$i)
        if [[ $blocks -eq 0 ]]; then
-               # Written value for the frist non-clone snapshot is
+               # Written value for the first non-clone snapshot is
                # expected to be equal to the referenced value.
                expected_written=$( \
                    get_prop referenced $TESTPOOL/$TESTFS1@snap$i)
@@ -120,7 +120,7 @@ sync_pool
 written=$(get_prop written $TESTPOOL/$TESTFS1)
 writtenat3=$(get_prop written@snap3 $TESTPOOL/$TESTFS1)
 [[ $written -eq $writtenat3 ]] || \
-    log_fail "Written and written@ dont match $written $writtenat3"
+    log_fail "Written and written@ don't match $written $writtenat3"
 within_percent $written $before_written 0.1 && \
     log_fail "Unexpected written value after delete $written $before_written"
 writtenat=$(get_prop written@snap1 $TESTPOOL/$TESTFS1)
index 5ce0e02fa6177cc975f0250aa5d57e38e580bb8a..f8439dcbbebde7c1dbea69b19bfcf019c3553059 100755 (executable)
@@ -155,7 +155,7 @@ for orig_fs in $datasets ; do
 
        log_must zfs destroy -Rf $rst_fs
 
-       log_note "Verfiying 'zfs receive -d <filesystem>' works."
+       log_note "Verifying 'zfs receive -d <filesystem>' works."
 
        i=0
        while (( i < ${#bkup[*]} )); do
index fcbdc5e1594e0b1e554ae43163b045380402ecf7..3a9c2279a61d07a6230745c81a57956f59ecfb2b 100755 (executable)
@@ -36,7 +36,7 @@
 #      Verify 'zfs receive' fails with malformed parameters.
 #
 # STRATEGY:
-#      1. Denfine malformed parameters array
+#      1. Define malformed parameters array
 #      2. Feed the malformed parameters to 'zfs receive'
 #      3. Verify the command should be failed
 #
index 5eee9eecf4bbf6ca2e83d0d889fcb9421d8e6fba..de771ccf3952216c145abea87523c9b18a0b6440 100755 (executable)
@@ -31,9 +31,9 @@
 # 4. Snapshot the encrypted dataset
 # 5. Attempt to receive the snapshot into an unencrypted child
 # 6. Verify encryption is not enabled
-# 7. Verify the cheksum of the file is the same as the original
+# 7. Verify the checksum of the file is the same as the original
 # 8. Attempt to receive the snapshot into an encrypted child
-# 9. Verify the cheksum of the file is the same as the original
+# 9. Verify the checksum of the file is the same as the original
 #
 
 verify_runnable "both"