summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-01-01 20:25:19 +0200
committerLars Wirzenius <liw@liw.fi>2016-01-01 20:28:38 +0200
commit4f7256a5476cc22de0e37f451c98043dbde35d94 (patch)
tree221b4a7ff832a6c1a246d910efbde7128b2887da
parent0e1f426bc21c5c6056281e6722e4f2ff04e0aaeb (diff)
downloadobnam-benchmarks-4f7256a5476cc22de0e37f451c98043dbde35d94.tar.gz
Fix --to option when restoring
-rw-r--r--NEWS5
-rw-r--r--obbenchlib/benchmarker.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f2eec8a..cdeefb2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
NEWS file for obbench
=====================
+Version 0.6, released UNRELEASED
+--------------------------------
+
+* Fix the `restore` part of a benchmark so it actually works.
+
Version 0.5, released 2015-12-31
--------------------------------
diff --git a/obbenchlib/benchmarker.py b/obbenchlib/benchmarker.py
index 9b3d17c..f8223a6 100644
--- a/obbenchlib/benchmarker.py
+++ b/obbenchlib/benchmarker.py
@@ -157,7 +157,7 @@ class Benchmarker(object):
self.run_obnam(['backup'])
def run_obnam_restore(self):
- self.run_obnam(['restore', '-to', self._restored])
+ self.run_obnam(['restore', '--to', self._restored])
def run_obnam(self, args):
env = dict(os.environ)