summaryrefslogtreecommitdiff
path: root/yarns/0030-basics.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-04 20:33:24 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-04 20:33:24 +0000
commit853ec7e82516bfd974a98541e6b2f908905623d7 (patch)
tree94cf21485aa07b39011f00ac23102a70f81f3e48 /yarns/0030-basics.yarn
parent1185ef9df1101e6fb489a9440b663ef45dd8b1d2 (diff)
downloadobnam-853ec7e82516bfd974a98541e6b2f908905623d7.tar.gz
Refactor IMPLEMENTS to remove coupling
Diffstat (limited to 'yarns/0030-basics.yarn')
-rw-r--r--yarns/0030-basics.yarn8
1 files changed, 6 insertions, 2 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn
index 0106eb0d..6db52c45 100644
--- a/yarns/0030-basics.yarn
+++ b/yarns/0030-basics.yarn
@@ -19,8 +19,10 @@ 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
- THEN user can restore their data correctly
+ AND user restores their latest generation into X
+ THEN live data, restored to X, matches manifest M
AND user can fsck the repository
Backup sparse files
@@ -44,6 +46,8 @@ 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
- THEN user can restore their data into X
+ 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