diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-12-05 17:56:09 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-12-05 17:56:09 +0000 |
commit | 9bf3e628691610c9700c158ff11bf2c7276cb2ea (patch) | |
tree | a4034fd2b29d07fa8fa55fade158f35cbb7b10e2 /yarns/0040-generations.yarn | |
parent | 1c94639c55dee96abb8489f31ef58732bc60d55f (diff) | |
download | obnam-9bf3e628691610c9700c158ff11bf2c7276cb2ea.tar.gz |
Refactor: remove implicit live data directory
It is just as, if not more, clear, and not much more tedious, to be
explicit about this.
Diffstat (limited to 'yarns/0040-generations.yarn')
-rw-r--r-- | yarns/0040-generations.yarn | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/yarns/0040-generations.yarn b/yarns/0040-generations.yarn index 61de6ce4..753540c2 100644 --- a/yarns/0040-generations.yarn +++ b/yarns/0040-generations.yarn @@ -22,16 +22,16 @@ to actually happen, we'll add a regression test when we find the problem.) SCENARIO backup two generations - GIVEN 1MB of live data - AND a manifest of live data in G1 - WHEN user backs up live data - GIVEN 2MB of live data - AND a manifest of live data in G2 - WHEN user backs up live data + GIVEN 1MB of new data in directory L + AND a manifest of directory L in G1 + WHEN user backs up directory L + GIVEN 2MB of new data in directory L + AND a manifest of directory L in G2 + WHEN user backs up directory L AND user restores generation 1 to R1 AND user restores generation 2 to R2 - THEN live data, restored to R1, matches manifest G1 - AND live data, restored to R2, matches manifest G2 + THEN L, restored to R1, matches manifest G1 + AND L, restored to R2, matches manifest G2 Listing generations (`obnam generations`, `obnam genids`) ------------------- @@ -40,10 +40,10 @@ When we make some number of generations, the Obnam generation listing commands should show that number of generations. SCENARIO list generations - GIVEN 1MB of live data - WHEN user backs up live data - AND user backs up live data - AND user backs up live data + GIVEN 1MB of new data in directory L + WHEN user backs up directory L + AND user backs up directory L + AND user backs up directory L THEN user sees 3 generations AND user sees 3 generation ids |