022: ignore fsstress file count

The recently added fsstress operations result in a different
number of directories and files being created for xfsdump test
022, which causes the test to fail since the expected xfsrestore
output records these numbers. Filter out the numbers to prevent
this from breaking in the future.

Also increase the number of fsstress operations used to populate
the filesystem so that we get roughly the same number of
directories and files as we used to for this test.

Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Bill Kendall <wkendall@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Bill Kendall
2011-11-07 15:03:52 -06:00
committed by Christoph Hellwig
parent eee9d4921a
commit 17b803d584
4 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ _require_tape $TAPE_DEV
_create_dumpdir_stress
_erase_hard
_do_dump_sub
_do_restore
# filter out the file count, it changes as fsstress adds new operations
_do_restore | sed -e "/entries processed$/s/[0-9][0-9]*/NUM/g"
_ls_compare_sub
# success, all done