aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrea Gelmini <[email protected]>2019-09-03 03:10:31 +0200
committerBrian Behlendorf <[email protected]>2019-09-02 18:10:31 -0700
commit220dd4ae84eaa07d58ccd26f13ca4c4cb9259ee5 (patch)
tree21936dcfa56dced3cf3508db30bbd5ee8ed86be1 /tests
parent24739cd5b084367dbafd84883b6fb7687858a922 (diff)
Fix typos in tests/
Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes #9246
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/history/history_005_neg.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/history/history_006_neg.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/history/history_007_pos.ksh2
-rw-r--r--tests/zfs-tests/tests/functional/history/history_common.kshlib2
-rwxr-xr-xtests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/no_space/enospc_df.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh2
15 files changed, 18 insertions, 18 deletions
diff --git a/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh b/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh
index c2c911020..45fdb5b85 100755
--- a/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh
+++ b/tests/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh
@@ -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.
#
diff --git a/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh b/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh
index bc925bc91..03fc15a8a 100755
--- a/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh
+++ b/tests/zfs-tests/tests/functional/fault/auto_online_001_pos.ksh
@@ -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++))
diff --git a/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh b/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh
index 8650ceff7..25c23aecc 100755
--- a/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh
+++ b/tests/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh
@@ -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
diff --git a/tests/zfs-tests/tests/functional/history/history_005_neg.ksh b/tests/zfs-tests/tests/functional/history/history_005_neg.ksh
index f6a81a4ac..297a701cc 100755
--- a/tests/zfs-tests/tests/functional/history/history_005_neg.ksh
+++ b/tests/zfs-tests/tests/functional/history/history_005_neg.ksh
@@ -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"
diff --git a/tests/zfs-tests/tests/functional/history/history_006_neg.ksh b/tests/zfs-tests/tests/functional/history/history_006_neg.ksh
index a2da831c5..e97adc4e3 100755
--- a/tests/zfs-tests/tests/functional/history/history_006_neg.ksh
+++ b/tests/zfs-tests/tests/functional/history/history_006_neg.ksh
@@ -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"
diff --git a/tests/zfs-tests/tests/functional/history/history_007_pos.ksh b/tests/zfs-tests/tests/functional/history/history_007_pos.ksh
index b65e855d8..d1c92c5e7 100755
--- a/tests/zfs-tests/tests/functional/history/history_007_pos.ksh
+++ b/tests/zfs-tests/tests/functional/history/history_007_pos.ksh
@@ -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
diff --git a/tests/zfs-tests/tests/functional/history/history_common.kshlib b/tests/zfs-tests/tests/functional/history/history_common.kshlib
index 80af2e903..d97e015fc 100644
--- a/tests/zfs-tests/tests/functional/history/history_common.kshlib
+++ b/tests/zfs-tests/tests/functional/history/history_common.kshlib
@@ -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
diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh
index 63c68e66e..aecdc5a3b 100755
--- a/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh
+++ b/tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh
@@ -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
diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh
index 95d505f35..b126f66a0 100755
--- a/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh
+++ b/tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh
@@ -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
diff --git a/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh b/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh
index ddc8fa7a4..1f5510ae5 100755
--- a/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh
+++ b/tests/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh
@@ -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
diff --git a/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh b/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh
index 3be20356e..f59603724 100755
--- a/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh
+++ b/tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh
@@ -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.
#
diff --git a/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh b/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh
index 24150b827..2f4257993 100755
--- a/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh
+++ b/tests/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh
@@ -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:
diff --git a/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh b/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh
index bf1eb54a7..9c4552b0c 100755
--- a/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh
+++ b/tests/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh
@@ -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
diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh
index b3df69141..b1eeaf2cc 100755
--- a/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh
+++ b/tests/zfs-tests/tests/functional/no_space/enospc_df.ksh
@@ -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"
diff --git a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh
index c9d7b59b3..bd38883d7 100755
--- a/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh
+++ b/tests/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh
@@ -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.
#