]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test xfsrestore on multi-level dumpfiles with wrong root
authorHironori Shiina <shiina.hironori@gmail.com>
Mon, 30 Jan 2023 22:56:43 +0000 (17:56 -0500)
committerZorro Lang <zlang@kernel.org>
Fri, 3 Feb 2023 09:51:37 +0000 (17:51 +0800)
commit6a19144c851c23d471c95b29abe6cf41ae0bce12
treefc16d9b31382adc086d07352f45b86473d3f4f00
parente100e9dfd87b2dd8bd38ada669c950eb87dabff3
xfs: test xfsrestore on multi-level dumpfiles with wrong root

While developing `xfsrestore -x`, we hit an issue at restoring a
renamed file in the cumulative mode (multi-level dumps):
  https://lore.kernel.org/linux-xfs/e61ae295-a331-d36a-cae1-646022dc2a6e@gmail.com/
Then, this patch adds test cases where '-x' flag is used in the
cumulative mode with various file operations referring to existing tests.

Signed-off-by: Hironori Shiina <shiina.hironori@fujitsu.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/567 [new file with mode: 0644]
tests/xfs/567.out [new file with mode: 0644]
tests/xfs/568 [new file with mode: 0644]
tests/xfs/568.out [new file with mode: 0644]