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:
Mohamed Barwani
2007-10-09 06:11:20 +00:00
parent 1aaaa8eef2
commit 9c1fdb6404
3 changed files with 212 additions and 35 deletions
+14
View File
@@ -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