diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-21 19:01:27 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-21 19:01:27 +0000 |
commit | a55dc6f111dcffa36fae1a03f9eda0bbdfb6f41b (patch) | |
tree | e0dab67618186bdc27970f632ff67a114479da94 /yarns/0030-basics.yarn | |
parent | 4a974f24c686220a89bf943eaeda4965bf39c347 (diff) | |
download | obnam-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/0030-basics.yarn')
-rw-r--r-- | yarns/0030-basics.yarn | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn index 88227fba..7a28720d 100644 --- a/yarns/0030-basics.yarn +++ b/yarns/0030-basics.yarn @@ -80,6 +80,7 @@ other parts of Obnam's test suite as well, and this reduces code duplication. SCENARIO backup non-basic filesystem objects + ASSUMING extended attributes are allowed for users GIVEN directory L with interesting filesystem objects AND a manifest of L in M WHEN user U backs up directory L to repository R @@ -90,6 +91,7 @@ As a special case, Obnam needs to notice when only an extended attribute value changes. SCENARIO backup notices when extended attribute value changes + ASSUMING extended attributes are allowed for users GIVEN a file F in L, with data AND file L/F has extended attribute user.foo set to foo WHEN user U backs up directory L to repository R @@ -132,8 +134,8 @@ Often it's useful to backup more than one location at once. We'll assume that if we can backup two, then it'll all work well. SCENARIO backup two roots - GIVEN directory L1 with interesting filesystem objects - AND directory L2 with interesting filesystem objects + GIVEN 4kB of new data in directory L1 + AND 16kB of new data in directory L2 AND a manifest of L1 in M1 AND a manifest of L2 in M2 WHEN user U backs up directories L1 and L2 to repository R @@ -177,7 +179,7 @@ that the configuration is correct: the fake backup runs much faster than a real one. SCENARIO a pretend backup - GIVEN directory L with interesting filesystem objects + GIVEN 10kB of new data in directory L WHEN user U backs up directory L to repository R GIVEN a manifest of R in M1 WHEN user U pretends to back up directory L to repository R |