From: Jian Yu Date: Fri, 7 Jul 2017 06:16:06 +0000 (-0700) Subject: LU-9663 tests: replace “ls -s” with “stat -c '%s'” to get file size X-Git-Tag: 2.10.51~49 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=45b8c6cf6916cf012ad0512f9cf249c152b45236;hp=45b8c6cf6916cf012ad0512f9cf249c152b45236 LU-9663 tests: replace “ls -s” with “stat -c '%s'” to get file size This patch improves acl/2561{,_zfs}.test to use “stat -c '%s'” to get file size instead of using “ls -s”, which prints the allocated size of the file in blocks. Test-Parameters: trivial \ envdefinitions=ONLY=103 \ mdtfilesystemtype=zfs ostfilesystemtype=zfs \ testlist=sanity Change-Id: I8bfea5197102baeece244e20731c90172c5cc2f1 Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/27961 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Fan Yong ---