summaryrefslogtreecommitdiff
path: root/yarns/obnam.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-01Set GNUPGHOME for every scenario step, just in caseLars Wirzenius1-0/+8
2017-05-25Fix: Update copyright yearsLars Wirzenius1-1/+1
2017-03-25Force summain checksum algorithmLars Wirzenius1-1/+1
Summain default has changed, so to be compatible with old summain output files, we have to force the checksum algorithm to what the old default was.
2016-10-07Update copyright yearLars Wirzenius1-1/+1
2016-10-01Fix "user no longer has key" scenario stepLars Wirzenius1-3/+2
This used to assume things of gpg's output, which break when gpg becomes version 2.1.something. This changed version of the step should hopefully work with either version of gpg.
2015-10-17Drop creating a $HOME during testsLars Wirzenius1-5/+0
Yarn now does that automatically.
2015-07-08Update copyright year in yarn/obnam.shobnam-1.12Lars Wirzenius1-1/+1
2015-07-08Fix "GIVEN a manifest" scenario stepLars Wirzenius1-3/+3
This has never worked, *sigh*.
2014-12-29Use if givenLars Wirzenius1-0/+6
2014-04-16Set lock timeout to zeroLars Wirzenius1-0/+6
2014-04-13Add missing copyright year to yarns/obnam.shLars Wirzenius1-1/+1
2014-04-08Bugfix: excluded files stayed in new generationLars Wirzenius1-0/+9
2014-03-26Add helpr functions for getting keyid, fingerprintLars Wirzenius1-0/+19
2014-03-13Improve error message when secret key missingLars Wirzenius1-0/+5
The actual gpg error message is now shown, instead of hidden behind a "unknown tag found" message.
2014-02-23Turn tracing on in yarnsLars Wirzenius1-1/+2
2014-02-06Make exclude-caches scenario clearer, robustLars Wirzenius1-1/+29
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-26Fix file restore, add xattr value change testLars Wirzenius1-1/+1
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-17Normalise manifest times in testLars Wirzenius1-2/+10
Some filesystems don't store sub-second parts of mtime. Bleh.
2014-01-12Fix test suite failureLars Wirzenius1-0/+5
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-12More encryption testsLars Wirzenius1-5/+47
2014-01-12Basic encrypted backup/restore testLars Wirzenius1-4/+41
This sets up a whole lot of infrastructure, too.
2014-01-12Add test for multiple clients sharing a repositoryLars Wirzenius1-2/+4
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 Wirzenius1-5/+0
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.
2013-12-28Have yarns write Obnam log file to DATADIRLars Wirzenius1-1/+2
2013-12-05Refactor: remove implicit live data directoryLars Wirzenius1-1/+0
It is just as, if not more, clear, and not much more tedious, to be explicit about this.
2013-12-04Add basic backup testLars Wirzenius1-1/+6
2013-10-21Add some yarn tests for "obnam ls"Lars Wirzenius1-1/+1
2013-08-02Add yarn test suite for fuse pluginLars Wirzenius1-0/+35