]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/linux.run
Enable quota_002_pos, quota_004_pos and quota_005_pos
authorliaoyuxiangqin <guo.yong33@zte.com.cn>
Fri, 14 Oct 2016 16:33:51 +0000 (00:33 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 14 Oct 2016 16:33:51 +0000 (09:33 -0700)
commit21237e916713e1c53c6314cd86ed0742baf4bbbb
tree8abc732360aa06392f56c9c5e9be0ff1a044e6e1
parent5f014a0cc464a6bf91094c530f938dd7d85f26f3
Enable quota_002_pos, quota_004_pos and quota_005_pos

In this test the 'ls -ls' command was used to print testfile size in
blocks.  Because the environment variable BLOCK_SIZE was set
the 'ls -ls' command detected this and output its block count as the
number of 8192 blocks.  Rather than change the variable name
the -k was was added to force ls to return 1k blocks.  This has the
additional advantage of behaving consistently across platforms.

For additional details on GNU 'ls' behavior regarding block size:

https://www.gnu.org/software/coreutils/manual/html_node/Block-size.html

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: yuxiang <guo.yong33@zte.com.cn>
Closes #5269
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/quota/quota.kshlib
tests/zfs-tests/tests/functional/quota/quota_002_pos.ksh
tests/zfs-tests/tests/functional/quota/quota_004_pos.ksh