summaryrefslogtreecommitdiff
path: root/yarns/0030-basics.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-05 11:03:01 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-05 11:03:01 +0000
commit458bc5bc3861cd5b3785688e1812aa75f6c9834f (patch)
tree80ba5e7d78a003947882f22423fda890e2356fbf /yarns/0030-basics.yarn
parent6871e25e8cbf3e6880ad4e18a16b4048554212f5 (diff)
downloadobnam-458bc5bc3861cd5b3785688e1812aa75f6c9834f.tar.gz
Yarn test interesting filesystem objects
Diffstat (limited to 'yarns/0030-basics.yarn')
-rw-r--r--yarns/0030-basics.yarn13
1 files changed, 13 insertions, 0 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn
index 0628d4e1..e6bd85d2 100644
--- a/yarns/0030-basics.yarn
+++ b/yarns/0030-basics.yarn
@@ -78,3 +78,16 @@ create all the interesting filesystem objects, rather than spelling
them out in the scenarios. This is because that helper tool is used by
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
+ AND user restores their latest generation into X
+ THEN live data, restored to X, matches manifest M
+
+The interesting live data generation is a step only used in the above
+scenario, so we implement it here.
+
+ IMPLEMENTS GIVEN live data with interesting filesystem objects
+ "$SRCDIR/mkfunnyfarm" "$LIVEDATA"