]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: refactor cumulative restore tests
authorBill Kendall <wkendall@sgi.com>
Tue, 1 Nov 2011 19:53:04 +0000 (14:53 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Nov 2011 10:16:13 +0000 (10:16 +0000)
commitdd9768d1d6d15da74bf2325858e6b246301f0194
treeee1a7b6985f6f8f179ef893bf391013a2dff7a9c
parenta2a325756f967d2f380b6bc0309d3a1e9a8465bf
xfstests: refactor cumulative restore tests

The cumulative restore tests call _do_restore_file_cum(),
which requires a dump level to be passed in the -l option
in order to determine whether the restore directory needs
to be prepared or not. -l is not a valid xfsrestore option,
so doing things this way prevents tests from passing options
to xfsrestore. It's more straightforward to have the test
call _prepare_restore_dir itself prior to starting a series
of cumulative restores.

Signed-off-by: Bill Kendall <wkendall@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
064
065
266
common.dump