diff options
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | obbenchlib/benchmarker.py | 1 |
2 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,14 @@ NEWS file for obbench ===================== +Version 0.7, released UNRELEASED +-------------------------------- + +* Fix the `restore part` **again**. This time it was breaking because + the temporary directory to which restores happen gets reused, and + the second time it fails, 'cause it needs to be empty, 'cause I said + so. + Version 0.6, released 2016-01-01 -------------------------------- diff --git a/obbenchlib/benchmarker.py b/obbenchlib/benchmarker.py index f8223a6..f843449 100644 --- a/obbenchlib/benchmarker.py +++ b/obbenchlib/benchmarker.py @@ -157,6 +157,7 @@ class Benchmarker(object): self.run_obnam(['backup']) def run_obnam_restore(self): + cliapp.runcmd(['find', self._restored, '-delete']) self.run_obnam(['restore', '--to', self._restored]) def run_obnam(self, args): |