]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: delay before dumps for incremental tests
authorBill Kendall <wkendall@sgi.com>
Mon, 31 Oct 2011 15:02:57 +0000 (10:02 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Nov 2011 10:16:13 +0000 (10:16 +0000)
commitc9a6f22b9da42140d3970c9980b1e604df523e87
tree6e4d8ce631af7678939864d91842baf3e810402e
parent8c125637c47b0d31a0d8ba6e1f3a1541eaf8b5eb
xfstests: delay before dumps for incremental tests

To get reproducible results when testing incremental backups, files
contained in a backup should not have the same timestamp (at second
resolution) as the backup itself. If they do, those files will also
be included in the incremental backup, and this will likely cause
issues in the expected output of the test. This patch adds a sleep
to test 024 prior to doing the level 0 backup. The other incremental
tests already include similar delays.

Signed-off-by: Bill Kendall <wkendall@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
024