Skip to content

Commit

Permalink
Fix typos in tests/
Browse files Browse the repository at this point in the history
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 openzfs#9242
  • Loading branch information
Gelma authored and tonyhutter committed Dec 27, 2019
1 parent 1259fe6 commit 6c7aa9f
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion tests/zfs-tests/tests/functional/slog/slog_015_neg.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/zfs-tests/tests/functional/trim/trim.kshlib
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
2 changes: 1 addition & 1 deletion tests/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
#

Expand Down

0 comments on commit 6c7aa9f

Please sign in to comment.