mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
Fix typos in tests/
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
This commit is contained in:
parent
d632608210
commit
f6a70187d2
@ -52,7 +52,7 @@ populate_test_pool
|
|||||||
#
|
#
|
||||||
# Create big empty file and do some writes at random
|
# Create big empty file and do some writes at random
|
||||||
# offsets to ensure that it takes up space. Note that
|
# 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.
|
# have compression enabled.
|
||||||
#
|
#
|
||||||
log_must mkfile $BIGFILESIZE $FS0FILE
|
log_must mkfile $BIGFILESIZE $FS0FILE
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
# This is why these tests run directly on pools that use a
|
# This is why these tests run directly on pools that use a
|
||||||
# "real disk vdev" (meaning not a file based one). These tests
|
# "real disk vdev" (meaning not a file based one). These tests
|
||||||
# use the $TESTPOOL pool that is created on top of $TESTDISK.
|
# 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
|
# the tests of this group use the testpool-related functions of
|
||||||
# this file (not the nested_pools ones).
|
# this file (not the nested_pools ones).
|
||||||
#
|
#
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# STRATEGY:
|
# STRATEGY:
|
||||||
# 1. Create a regular file and a directroy.
|
# 1. Create a regular file and a directory.
|
||||||
# 2. Set project ID on both directroy and regular file.
|
# 2. Set project ID on both directory and regular file.
|
||||||
# 3. New created subdir or regular file should inherit its parent's
|
# 3. New created subdir or regular file should inherit its parent's
|
||||||
# project ID if its parent has project inherit flag.
|
# project ID if its parent has project inherit flag.
|
||||||
# 4. New created subdir should inherit its parent project's inherit flag.
|
# 4. New created subdir should inherit its parent project's inherit flag.
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
# 1. Create three directories
|
# 1. Create three directories
|
||||||
# 2. Set tdir1 and tdir3 project ID as PRJID1,
|
# 2. Set tdir1 and tdir3 project ID as PRJID1,
|
||||||
# set tdir2 project ID as PRJID2.
|
# 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,
|
# 4. Hardlink from tdir1's child to tdir2 should be denied,
|
||||||
# move tdir1's child to tdir2 will be object recreated.
|
# move tdir1's child to tdir2 will be object recreated.
|
||||||
# 5. Hardlink from tdir1's child to tdir3 should succeed.
|
# 5. Hardlink from tdir1's child to tdir3 should succeed.
|
||||||
|
@ -62,7 +62,7 @@ for prj in "${no_prjs[@]}"; do
|
|||||||
log_mustnot zfs set projectquota@$prj=100m $QFS
|
log_mustnot zfs set projectquota@$prj=100m $QFS
|
||||||
done
|
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
|
log_must zfs set projectquota@12345678=100m $QFS
|
||||||
|
|
||||||
set -A sizes "100mfsd" "m0.12m" "GGM" "-1234-m" "123m-m"
|
set -A sizes "100mfsd" "m0.12m" "GGM" "-1234-m" "123m-m"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#
|
#
|
||||||
# STRATEGY:
|
# STRATEGY:
|
||||||
# 1. set project [obj]quota on the directory
|
# 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
|
# 3. run 'df [-i]' on the directory and check the result
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#
|
#
|
||||||
# STRATEGY:
|
# STRATEGY:
|
||||||
# 1. Create a tree with 4 level directories.
|
# 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".
|
# "zfs project -p".
|
||||||
# 3. Check the project ID via "zfs project".
|
# 3. Check the project ID via "zfs project".
|
||||||
# 4. Set project inherit flag on kinds of level directories (and its
|
# 4. Set project inherit flag on kinds of level directories (and its
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
# 2. "-C" only supports "-r" and "-k".
|
# 2. "-C" only supports "-r" and "-k".
|
||||||
# 3. "-s" only supports "-r" and "-p".
|
# 3. "-s" only supports "-r" and "-p".
|
||||||
# 4. "-c", "-C" and "-s" can NOT be specified together.
|
# 4. "-c", "-C" and "-s" can NOT be specified together.
|
||||||
# 5. "-d" can overwirte former "-r".
|
# 5. "-d" can overwrite former "-r".
|
||||||
# 6. "-r" can overwirte former "-d".
|
# 6. "-r" can overwrite former "-d".
|
||||||
# 7. "-0" must be together with "-c".
|
# 7. "-0" must be together with "-c".
|
||||||
# 8. "-d" must be on directory.
|
# 8. "-d" must be on directory.
|
||||||
# 9. "-r" must be on directory.
|
# 9. "-r" must be on directory.
|
||||||
|
@ -7,7 +7,7 @@ EXTRA_DIST = \
|
|||||||
|
|
||||||
#
|
#
|
||||||
# The pyzfs module is built either for Python 2 or Python 3. In order
|
# 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
|
$(pkgpyzfs_SCRIPTS):%:%.in
|
||||||
-$(SED) -e 's,@PYTHON\@,$(PYTHON),g' \
|
-$(SED) -e 's,@PYTHON\@,$(PYTHON),g' \
|
||||||
|
@ -35,4 +35,4 @@
|
|||||||
|
|
||||||
log_mustnot raidz_test -T
|
log_mustnot raidz_test -T
|
||||||
|
|
||||||
log_pass "raidz_test detects errors as espected."
|
log_pass "raidz_test detects errors as expected."
|
||||||
|
Loading…
Reference in New Issue
Block a user