summaryrefslogtreecommitdiff
path: root/yarns/0030-basics.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-05 17:56:09 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-05 17:56:09 +0000
commit9bf3e628691610c9700c158ff11bf2c7276cb2ea (patch)
treea4034fd2b29d07fa8fa55fade158f35cbb7b10e2 /yarns/0030-basics.yarn
parent1c94639c55dee96abb8489f31ef58732bc60d55f (diff)
downloadobnam-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/0030-basics.yarn')
-rw-r--r--yarns/0030-basics.yarn26
1 files changed, 13 insertions, 13 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn
index 17a21288..5c86b227 100644
--- a/yarns/0030-basics.yarn
+++ b/yarns/0030-basics.yarn
@@ -18,11 +18,11 @@ Just a few files with a bit of data in each. This is what every backup
program must be able to handle.
SCENARIO backup simple data
- GIVEN 100kB of live data
- AND a manifest of live data in M
- WHEN user backs up live data
+ GIVEN 100kB of new data in directory L
+ AND a manifest of directory L in M
+ WHEN user backs up directory L
AND user restores their latest generation into X
- THEN live data, restored to X, matches manifest M
+ THEN L, restored to X, matches manifest M
AND user can fsck the repository
Backup sparse files
@@ -45,12 +45,12 @@ sparse. We'll settle for making sure the restored file does not use
more disk space than the one in live data.
SCENARIO backup a sparse file
- GIVEN a file S in live data, with a hole, data, a hole
- AND a manifest of live data in M
- WHEN user backs up live data
+ GIVEN a file S in L, with a hole, data, a hole
+ AND a manifest of directory L in M
+ WHEN user backs up directory L
AND user restores their latest generation into X
- THEN live data, restored to X, matches manifest M
- AND restored file S in X doesn't use more disk
+ THEN L, restored to X, matches manifest M
+ AND file S from L, restored in X doesn't use more disk
Backup all interesting file and metadata types
----------------------------------------------
@@ -80,8 +80,8 @@ other parts of Obnam's test suite as well, and this reduces code
duplication.
SCENARIO backup non-basic filesystem objects
- GIVEN live data with interesting filesystem objects
- AND a manifest of live data in M
- WHEN user backs up live data
+ GIVEN directory L with interesting filesystem objects
+ AND a manifest of directory L in M
+ WHEN user backs up directory L
AND user restores their latest generation into X
- THEN live data, restored to X, matches manifest M
+ THEN L, restored to X, matches manifest M