Merge lp:~mterry/duplicity/more-test-fixes into lp:duplicity/0.6
Status: | Merged |
---|---|
Merged at revision: | 819 |
Proposed branch: | lp:~mterry/duplicity/more-test-fixes |
Merge into: | lp:duplicity/0.6 |
To merge this branch: | bzr merge lp:~mterry/duplicity/more-test-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
duplicity-team | Pending | ||
Review via email: mp+84612@code.launchpad.net |
Description of the change
Here are some test fixes I found when running duplicity's test suite in a chroot.
1) Sometimes backups would complete so fast that the last incremental backup would have an end timestamp of X and the next full backup would have timestamp of X as well (i.e. backups finished and started within a second). When this happened, collections.py would throw an exception because it doesn't expect that. So I added a sleep(1).
2) At one point, the tests back up /etc, and expect there to be more than one volume. On a poorly-populated chroot, /etc may fit under 1M when compressed. So back up /bin instead.
3) The test-other-