mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Add extra test cases for growfs
Merge of master-melb:xfs-cmds:29854a by kenmcd. Modify the loop back grow function to include a flag for checking the fs after growin and added few more growfs test cases that are less 16TB
This commit is contained in:
@@ -153,5 +153,19 @@ _filter_mkfs()
|
||||
}'
|
||||
}
|
||||
|
||||
|
||||
# prints the bits we care about in growfs
|
||||
#
|
||||
_filter_growfs()
|
||||
{
|
||||
perl -ne '
|
||||
if (/^data\s+=\s+bsize=(\d+)\s+blocks=(\d+), imaxpct=(\d+)/) {
|
||||
print "xfs_growfs --BlockSize=$1 --Blocks=$2\n";
|
||||
}
|
||||
elsif (/^data/) {
|
||||
print;
|
||||
}'
|
||||
}
|
||||
|
||||
# make sure this script returns success
|
||||
/bin/true
|
||||
|
||||
Reference in New Issue
Block a user