From 67741f6f3b68d1b8ed9a5424bb0ef8f8577827ec Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 19 Feb 2014 21:27:16 +0000 Subject: Convert compression+encryption.script to yarn --- yarns/0070-compression.yarn | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'yarns/0070-compression.yarn') diff --git a/yarns/0070-compression.yarn b/yarns/0070-compression.yarn index bf7976ee..df301774 100644 --- a/yarns/0070-compression.yarn +++ b/yarns/0070-compression.yarn @@ -27,3 +27,16 @@ accordingly. WHEN user U restores their latest generation in repository R into Y THEN L, restored to Y, matches manifest M AND user U can fsck the repository R + +We need to be able to combine compression with encryption. Let's do +the test again, with new options. + + SCENARIO backup simple data using compression and encryption + GIVEN 100kB of new data in directory L + AND a manifest of L in M + AND user U sets configuration compress-with to deflate + GIVEN user U uses encryption key "Test Key One" from test-data/keyring-1 + WHEN user U backs up directory L to repository R + AND user U restores their latest generation in repository R into X + THEN L, restored to X, matches manifest M + AND user U can fsck the repository R -- cgit v1.2.1