mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +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 #9242
This commit is contained in:
parent
5097eb6ac9
commit
500977eed2
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user