summaryrefslogtreecommitdiff
path: root/yarns/0060-encryption.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-21 19:01:27 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-21 19:01:27 +0000
commita55dc6f111dcffa36fae1a03f9eda0bbdfb6f41b (patch)
treee0dab67618186bdc27970f632ff67a114479da94 /yarns/0060-encryption.yarn
parent4a974f24c686220a89bf943eaeda4965bf39c347 (diff)
downloadobnam-a55dc6f111dcffa36fae1a03f9eda0bbdfb6f41b.tar.gz
Fix test suite failures on TMPDIR without user xattr
Remove use of extended attributes from some tests. Make the remaining tests be conditional on whether extended attributes actually work in the temporary directory (in the user.* namespace).
Diffstat (limited to 'yarns/0060-encryption.yarn')
-rw-r--r--yarns/0060-encryption.yarn8
1 files changed, 4 insertions, 4 deletions
diff --git a/yarns/0060-encryption.yarn b/yarns/0060-encryption.yarn
index b30234be..485a1233 100644
--- a/yarns/0060-encryption.yarn
+++ b/yarns/0060-encryption.yarn
@@ -40,7 +40,7 @@ that encryption is done at the I/O abstraction level.
SCENARIO basic encrypted backup and restore
GIVEN user U uses encryption key "Test Key One" from test-data/keyring-1
- AND directory L with interesting filesystem objects
+ AND 128kB of new data in directory L
AND a manifest of L in M
WHEN user U backs up directory L to repository R
AND user U restores their latest generation in repository R into X
@@ -64,7 +64,7 @@ First of all, we make a simple encrypted backup as the first client.
SCENARIO adding and removing encryption keys to clients
GIVEN user U1 uses encryption key "Test Key One" from test-data/keyring-1
- AND directory L1 with interesting filesystem objects
+ AND 16kB of new data in directory L1
WHEN user U1 backs up directory L1 to repository R
THEN user U1 uses key "Test Key One" in repository R
@@ -79,7 +79,7 @@ to the client list, and thus can't add itself.
Then we make a backup as the second client.
GIVEN user U2 uses encryption key "Test Key Two" from test-data/keyring-2
- AND directory L2 with interesting filesystem objects
+ AND 32kB of new data in directory L2
WHEN user U2 backs up directory L2 to repository R
THEN user U2 uses key "Test Key Two" in repository R
@@ -138,7 +138,7 @@ remain.
SCENARIO remove a client
GIVEN user U1 uses encryption key "Test Key One" from test-data/keyring-1
AND user U2 uses encryption key "Test Key Two" from test-data/keyring-2
- AND directory L with interesting filesystem objects
+ AND 48kB of new data in directory L
WHEN user U1 backs up directory L to repository R
THEN user U1 uses key "Test Key One" in repository R
WHEN user U1 imports public key "Test Key Two" from test-data/keyring-2