Skip to content

Commit

Permalink
Fix typos in tests/
Browse files Browse the repository at this point in the history
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 #9244
  • Loading branch information
Gelma authored and behlendorf committed Sep 3, 2019
1 parent 37e4219 commit 24739cd
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ populate_test_pool
#
# Create big empty file and do some writes at random
# offsets to ensure that it takes up space. Note that
# the implcitly created filesystem ($FS0) does not
# the implicitly created filesystem ($FS0) does not
# have compression enabled.
#
log_must mkfile $BIGFILESIZE $FS0FILE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# This is why these tests run directly on pools that use a
# "real disk vdev" (meaning not a file based one). These tests
# use the $TESTPOOL pool that is created on top of $TESTDISK.
# This pool is refered to as the "test pool" and thus all
# This pool is referred to as the "test pool" and thus all
# the tests of this group use the testpool-related functions of
# this file (not the nested_pools ones).
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
#
#
# STRATEGY:
# 1. Create a regular file and a directroy.
# 2. Set project ID on both directroy and regular file.
# 1. Create a regular file and a directory.
# 2. Set project ID on both directory and regular file.
# 3. New created subdir or regular file should inherit its parent's
# project ID if its parent has project inherit flag.
# 4. New created subdir should inherit its parent project's inherit flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# 1. Create three directories
# 2. Set tdir1 and tdir3 project ID as PRJID1,
# set tdir2 project ID as PRJID2.
# 3. Create regular file under tdir1. It inherits tdir1 proejct ID.
# 3. Create regular file under tdir1. It inherits tdir1 project ID.
# 4. Hardlink from tdir1's child to tdir2 should be denied,
# move tdir1's child to tdir2 will be object recreated.
# 5. Hardlink from tdir1's child to tdir3 should succeed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ for prj in "${no_prjs[@]}"; do
log_mustnot zfs set projectquota@$prj=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 projectquota@12345678=100m $QFS

set -A sizes "100mfsd" "m0.12m" "GGM" "-1234-m" "123m-m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#
# STRATEGY:
# 1. set project [obj]quota on the directory
# 2. set project ID and inherit flag on the directoty
# 2. set project ID and inherit flag on the directory
# 3. run 'df [-i]' on the directory and check the result
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#
# STRATEGY:
# 1. Create a tree with 4 level directories.
# 2. Set project ID on both directroy and regular file via
# 2. Set project ID on both directory and regular file via
# "zfs project -p".
# 3. Check the project ID via "zfs project".
# 4. Set project inherit flag on kinds of level directories (and its
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
# 2. "-C" only supports "-r" and "-k".
# 3. "-s" only supports "-r" and "-p".
# 4. "-c", "-C" and "-s" can NOT be specified together.
# 5. "-d" can overwirte former "-r".
# 6. "-r" can overwirte former "-d".
# 5. "-d" can overwrite former "-r".
# 6. "-r" can overwrite former "-d".
# 7. "-0" must be together with "-c".
# 8. "-d" must be on directory.
# 9. "-r" must be on directory.
Expand Down
2 changes: 1 addition & 1 deletion tests/zfs-tests/tests/functional/pyzfs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EXTRA_DIST = \

#
# The pyzfs module is built either for Python 2 or Python 3. In order
# to properly test it the unit tests must be updated to the matching vesion.
# to properly test it the unit tests must be updated to the matching version.
#
$(pkgpyzfs_SCRIPTS):%:%.in
-$(SED) -e 's,@PYTHON\@,$(PYTHON),g' \
Expand Down
2 changes: 1 addition & 1 deletion tests/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@

log_mustnot raidz_test -T

log_pass "raidz_test detects errors as espected."
log_pass "raidz_test detects errors as expected."

0 comments on commit 24739cd

Please sign in to comment.