]> granicus.if.org Git - zfs/commitdiff
Fix typos in tests/
authorAndrea Gelmini <andrea.gelmini@gelma.net>
Tue, 3 Sep 2019 00:58:26 +0000 (02:58 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 3 Sep 2019 00:58:26 +0000 (17:58 -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 #9242

tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh
tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh
tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh
tests/zfs-tests/tests/functional/trim/trim.kshlib
tests/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh
tests/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh
tests/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh
tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh
tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh
tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh

index fa61051165741f7f838e500277e4332835df7032..a53aeabffcdd8f89a9cb6321c31c32acee3a1a8d 100755 (executable)
@@ -26,7 +26,7 @@
 #      3. Concurrently do the following:
 #         3.1. Perform 8K sync writes
 #         3.2. Perform log offline/online commands
-#      4. Loop to test with growing "zfs_commit_timout_pct" values.
+#      4. Loop to test with growing "zfs_commit_timeout_pct" values.
 #
 
 verify_runnable "global"
index b404ffbd50e637967f6fb49b8146f036b1c2274b..124a7db9c6e612252e94846963cdc793ec1a1410 100755 (executable)
@@ -36,7 +36,7 @@
 # DESCRIPTION:
 # An archive of a zfs file system and an archive of its snapshot
 # is identical even though the original file system has
-# changed sinced the snapshot was taken.
+# changed since the snapshot was taken.
 #
 # STRATEGY:
 # 1) Create files in all of the zfs file systems
index dc50e46933aa5205bdb2f3a55d50b92d69ca18dc..68a616c02a6c4ef5fedd1e58957abfdda908480d 100755 (executable)
@@ -35,7 +35,7 @@
 #
 # DESCRIPTION:
 # An archive of a zfs dataset and an archive of its snapshot
-# changed sinced the snapshot was taken.
+# changed since the snapshot was taken.
 #
 # STRATEGY:
 # 1) Create some files in a ZFS dataset
index 02802d8c91bf01524720df20067e8a6146505a9e..ed6a8f91b97090b5ecc4e55b722b4313b9bdeeed 100644 (file)
@@ -18,7 +18,7 @@
 . $STF_SUITE/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib
 
 #
-# Get the actual on disk disk for the provided file.
+# Get the actual size on disk for the provided file.
 #
 function get_size_mb
 {
index 825ebe09b28bc33418c999288e6a86715c94b2c3..5684b05b7e4b434a849bd47d967cbd90bec5042d 100755 (executable)
@@ -64,7 +64,7 @@ for user in "${no_users[@]}"; do
        log_mustnot zfs set userquota@$user=100m $QFS
 done
 
-log_note "can set all numberic id even that id is not existed"
+log_note "can set all numeric id even if that id does not exist"
 log_must zfs set userquota@12345678=100m $QFS
 log_mustnot zfs set userquota@12345678=100m $snap_fs
 
index 08af6560dc87ad33fa380814954767e8160b6145..20c9c56ba5ef465bfa7395c7817c95f3b87d5015 100755 (executable)
@@ -33,7 +33,7 @@
 
 #
 # DESCRIPTION:
-#       Check userquota and groupquota be overwrited at same time
+#       Check userquota and groupquota being exceeded at the same time
 #
 #
 # STRATEGY:
index 088499eb042685e6184168484d2ddc777d08cd93..b553f91d40da1008bca97a5f97baa91077be38d5 100755 (executable)
@@ -56,7 +56,7 @@ log_onexit cleanup
 typeset snap_fs=$QFS@snap
 log_assert "Check  set userquota and groupquota on snapshot"
 
-log_note "Check can not set user|group quuota on snapshot"
+log_note "Check can not set user|group quota on snapshot"
 log_must zfs snapshot $snap_fs
 
 log_mustnot zfs set userquota@$QUSER1=$UQUOTA_SIZE $snap_fs
index a56fce4eaba1772f1c46e7dc064073f73a9560de..0a661e935b7807d55fc3030c8090ab91e4962e56 100755 (executable)
@@ -37,8 +37,8 @@
 # should fail.
 #
 # STRATEGY:
-#      1. Create a file, and set an with an xattr
-#       2. Set the octal file permissions to 000 on the file.
+#      1. Create a file with an xattr
+#      2. Set the file permissions to 000
 #      3. Check that we're unable to read the xattr as a non-root user
 #      4. Check that we're unable to write an xattr as a non-root user
 #
index 80704fad75e17e798ea7202ba66da78692a5bd80..246f077af0a85f55499f8264f727d3dd874cdb4d 100755 (executable)
@@ -135,7 +135,7 @@ else
 fi
 
 log_note "Checking mv"
-# mv doesn't have any flags to preserve/ommit xattrs - they're
+# mv doesn't have any flags to preserve/omit xattrs - they're
 # always moved.
 log_must touch $TESTDIR/mvfile.$$
 create_xattr $TESTDIR/mvfile.$$ passwd /etc/passwd
index 256ca53241bf68ebab563041afd5626a22b0ac43..9ccf3f9ded556e460df833a166953ec9c2401472 100755 (executable)
@@ -40,7 +40,7 @@
 #
 # STRATEGY:
 # 1. Modify /etc/vfstab to add the test zvol as swap device.
-# 2. Use /sbin/swapadd to add zvol as swap device throuth /etc/vfstab
+# 2. Use /sbin/swapadd to add zvol as swap device through /etc/vfstab
 # 3. Create a file under /tmp and verify the file
 #