summaryrefslogtreecommitdiff
path: root/yarns
AgeCommit message (Collapse)AuthorFilesLines
2014-03-21Convert verifies-randomly from cmdtest to yarnLars Wirzenius2-1/+21
2014-03-21Convert verify-notices-changes cmdtest to yarnLars Wirzenius2-0/+36
2014-03-19Add scenario for testing --keep=4h style scheduleLars Wirzenius2-1/+79
2014-03-18Add test case for FUSE bugLars Wirzenius2-0/+28
2014-03-17Convert forget --pretend cmdtest to yarnLars Wirzenius2-0/+23
2014-03-13Improve error message when secret key missingLars Wirzenius2-1/+7
The actual gpg error message is now shown, instead of hidden behind a "unknown tag found" message.
2014-03-13Convert "forget nothing by default" to yarnLars Wirzenius2-0/+25
2014-03-11Add yarn for no-op backupsLars Wirzenius2-1/+32
2014-03-06Add test for bug found recentlyLars Wirzenius1-0/+16
2014-02-25Test FUSE .pid reading in yarnsLars Wirzenius2-0/+22
2014-02-23Turn tracing on in yarnsLars Wirzenius1-1/+2
2014-02-23Remove the --viewmode settingLars Wirzenius1-1/+1
I'm trying to simplify the code so I can make changes to it. Also, having fewer options is better (despite the fact that Obnam has tons of them already).
2014-02-19Convert compression+encryption.script to yarnLars Wirzenius1-0/+13
2014-02-19Convert tests/compression.script to yarnLars Wirzenius1-0/+29
2014-02-17Fix parsing of filtered filesLars Wirzenius1-1/+1
This bug was originally triggered by the test suite, because the error message in the code had a typo. While looking for that I noticed that the code that was parsing the code seemed fishy. This is now cleaner. First of all, I split the error messages for "unknown tag" and "no tag". Then I rewrote the loop that parses so it is robust against error situations. Then I tweaked the yarn test so it now works.
2014-02-16Add some debugging output to a yarn stepLars Wirzenius1-1/+5
This step failed under CI, but I haven't been able to reproduce the failure otherwise. I'm hoping this extra output (which will normally be hidden, but shown when a failure happens) will help me find the problem.
2014-02-15Make yarns.pdf paper size be letter tooLars Wirzenius1-0/+1
2014-02-15Generate yarns.htmlLars Wirzenius1-2/+8
This makes it easier to read in a web browser. PDF is nice to have too, but HTML is important.
2014-02-06Make exclude-caches scenario clearer, robustLars Wirzenius3-13/+52
Originally, we would create L/wanted, then do a manifest, then create L/cache, then backup, restore, verify. This would sometimes fail, if the full-second timestamp of L would change when L/cache was created. So we (well, I) changed it so that we fiddled with the manifest just before making a backup, but this was weird and confusing and would still sometimes fail. This should now be much clearer and therefore more robust.
2014-01-26Avoid using the src tree gpghomeLars Wirzenius1-1/+4
2014-01-26Remove duplicate section on PGP keysLars Wirzenius1-7/+0
The encryption chapter has a more up-to-date description of this.
2014-01-26Fix file restore, add xattr value change testLars Wirzenius7-31/+56
The single file restore test had a bug, in that it was depending on various test steps to execute fast enough that the wall clock did not advance to the next second. This has been fixed by allowing manifests to be done on single files instead of just directories. Add a test for an extended attribute value changing, and that being the only change in the live data. The backup needs to notice that it has changed. This was intended to be the original change in this commit, but I ran into the test bug above, so I had to fix that too. I was too lazy to detangle the two sets of changes for commits.
2014-01-26Convert user-old-node-size test to yarnLars Wirzenius1-0/+19
2014-01-25Convert restores-single-file to a yarnLars Wirzenius2-0/+22
2014-01-25Convert remove-checkpoints into a yarnLars Wirzenius2-0/+23
2014-01-25Convert two-roots to a yarnLars Wirzenius2-0/+22
2014-01-25Convert pre-epoch-mtime to a yarnLars Wirzenius2-0/+36
2014-01-25Convert no-roots-from-old-gens into yarnLars Wirzenius2-0/+25
2014-01-24Convert --exclude-cache test to yarnLars Wirzenius2-0/+63
2014-01-24Convert anyone-list-clients cmdtest to yarnLars Wirzenius2-0/+25
2014-01-19Make reference repo tests use --always-restore-setuidLars Wirzenius1-2/+7
2014-01-17Normalise manifest times in testLars Wirzenius2-4/+14
Some filesystems don't store sub-second parts of mtime. Bleh.
2014-01-12Fix test suite failureLars Wirzenius2-1/+6
Depending on how the encrypted data is, the error message, when accessing an encrypted repository without encryption enabled, may be different. Deal with it.
2014-01-12Remove more stuff from fixme chapterLars Wirzenius1-2/+0
2014-01-12Remove finished stuff from fixme chapterLars Wirzenius1-16/+0
2014-01-12Add scenario for remove-clientLars Wirzenius2-1/+34
2014-01-12Note untested encryption commandsLars Wirzenius1-5/+4
2014-01-12Add note about bad error messageLars Wirzenius1-0/+5
2014-01-12More encryption testsLars Wirzenius3-10/+146
2014-01-12Basic encrypted backup/restore testLars Wirzenius3-4/+144
This sets up a whole lot of infrastructure, too.
2014-01-12Remove the multiple-client chapter from fixmeLars Wirzenius1-1/+0
2014-01-12Add test for multiple clients sharing a repositoryLars Wirzenius8-92/+148
As part of this, make every repository operation step require an explicit client name. The v6 reference formats have a client name embedded that is the hostname of my laptop, so make those tests use that name. This fixes what would not have run previously on any system that isn't named havelock. Oops.
2014-01-11Add yarn test for pretend backupsLars Wirzenius5-74/+99
Remove cmdtest test for this. To make things clearer in the new test, also change all the steps that use a backup repository to have the user specify it explicitly.
2014-01-07Add test case for restoring in-tree dataLars Wirzenius1-3/+19
This test does not currently pass.
2013-12-28Have yarns write Obnam log file to DATADIRLars Wirzenius1-1/+2
2013-12-28Add a yarn scenario for restoring from fmt 6Lars Wirzenius1-0/+76
2013-12-06Add scenario test for forget --keepLars Wirzenius2-1/+17
2013-12-06Add a scenario test for "obnam forget"Lars Wirzenius2-2/+30
2013-12-05Add scenario for obnam diffLars Wirzenius2-1/+43
2013-12-05Fix test caseLars Wirzenius1-1/+1