From 853ec7e82516bfd974a98541e6b2f908905623d7 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 4 Dec 2013 20:33:24 +0000 Subject: Refactor IMPLEMENTS to remove coupling --- yarns/0030-basics.yarn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'yarns/0030-basics.yarn') 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 -- cgit v1.2.1