summaryrefslogtreecommitdiff
path: root/yarns
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 Wirzenius2-1/+2
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-29kdirstat: Correct output syntax for FIFOIan Campbell2-3/+6
There needs to be some whitspace after the FIFO tag, otherwise k4dirstat (silently!) stops parsing at this entry. This was wrong in the initial commit to add FIFO support to kdirstat 4ce858d7c593 ("kdirstat: Handled named pipes (fifos)"), manual testing at the time apparently only verified that the file was generated, not that it was valid, sorry. I updated the test yarns to also check for FIFO, however this is only run "ASSUMING extended attributes are allowed for users", which does not appear to be the case on my system. Also the testshould probably test for all sorts of files, not just regular and FIFO. Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
2016-10-07Update copyright yearLars Wirzenius1-1/+1
2016-10-01Fix "user no longer has key" scenario stepLars Wirzenius2-4/+11
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.
2016-07-13Fix typos, from Andrea GelminiLars Wirzenius3-5/+5
2015-12-12Remove erroneous trailing backslashLars Wirzenius1-1/+1
This used to work, but a recent change to yarn broke it. The change is that yarn now supports (or its next release will do so) arbitrary language for IMPLEMENTS, and as a result yarn no longer puts empty lines between files it concatenates and feeds to the shell.
2015-10-20Set temporary GNUPGHOME permissionsLars Wirzenius1-0/+1
2015-10-17Drop creating a $HOME during testsLars Wirzenius1-5/+0
Yarn now does that automatically.
2015-10-11kdirstat: Handled named pipes (fifos)Ian Campbell1-0/+10
For some reason this was missing from the mode_str lookup, it is the only type listed on https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt which wasn't handled. For unknown file types emit a commented "#UNHANDLED ..." line rather than crashing with a backtrace. Add a yarn for this scenario, although I've not been able to run it due to "ASSUMING extended attributes are allowed for users". Real world use has been tested by Florian Geyer, http://listmaster.pepperfish.net/pipermail/obnam-support-obnam.org/2015-September/003836.html Cc: Florian Geyer <blueice@fobos.de>
2015-10-11encryption_plugin: add a gnupghome configuration optionBen Boeckel2-0/+42
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
2015-07-25Add scenario for repo with lost chunksLars Wirzenius2-0/+102
2015-07-08Update copyright year in yarn/obnam.shobnam-1.12Lars Wirzenius1-1/+1
2015-07-08Add missing restore step to test scenarioLars Wirzenius1-0/+1
2015-07-08Fix "GIVEN a manifest" scenario stepLars Wirzenius1-3/+3
This has never worked, *sigh*.
2015-06-13Prevent restores to a non-empty --to directoryLars Wirzenius1-0/+25
2015-03-24Fix yarns to check for gpg error from old versionLars Wirzenius1-2/+2
It seems CentOS 6 has a version of gpg that says "No secret key" instead of "secret key not available". Fixed yarns to check for that. Reported-by: Dennis Jacobfeuerborn
2015-03-06Add scenario for verifying file that has been appended toLars Wirzenius1-0/+17
2014-12-29Use if givenLars Wirzenius1-0/+6
2014-12-26Improve can-use-fuse testLars Wirzenius1-0/+11
2014-12-25Fix 'can run FUSE' yarn step for wheezyLars Wirzenius1-1/+42
2014-12-25Change test for whether to run FUSE testsLars Wirzenius2-7/+10
2014-12-08Implement support for listing a generation in kdirstat.cache formatIan Campbell2-0/+47
On Sat, 2014-12-06 at 19:15 +0200, Lars Wirzenius wrote: > On Sun, Nov 16, 2014 at 11:24:11AM +0000, Ian Campbell wrote: > > This implements an ls variant whose output format is compatible with the > > kdirstat cache format. The best reference I can find for this is from an old fork: > > https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt > > > > Recent versions of k4dirstat appear to be able to read the files produced just > > fine, although this document is not present in their source AFAICT. > > > > I find k4dirstat to be an excellent way to visualise what is included in a > > backup, e.g. for the purposes of excluding file types or marking directories > > with a CACHEDIR.TAG. My previous solution involved post-processing the output > > of ls which require a ssh to the machine with the files (for stat() purposes). > > This approach pulls all of the data out of the obnam repo, so is much faster, > > less hacky and gets the status of the actual generation and not the current > > files etc. > > Thank you, Ian. I've applied the patch and pushed the changes to > master on git.liw.fi. Thanks. > It would be nice if someone wrote a test case for this (in yarn form), > so that I'll notice when I break it. Your wish etc etc... (it even found a bug!) 8<---------------- >From 8f1aecfee8ec34e5d060f81ee47f9fd8aacdc201 Mon Sep 17 00:00:00 2001 From: Ian Campbell <ijc@hellion.org.uk> Date: Sun, 7 Dec 2014 15:19:57 +0000 Subject: [PATCH] Add a yarn for testing kdirstat cachefile generation. Rather simplistic, but caught one bug (unwanted newline at start of file) which is also fixed here.
2014-06-25Fix URLs to Obnam home page (liw.fi to obnam.org)Lars Wirzenius1-2/+2
2014-06-03Remove now-obsolete testLars Wirzenius1-20/+0
2014-04-16Add scenario for forcing another client's lockLars Wirzenius1-0/+31
2014-04-16Set lock timeout to zeroLars Wirzenius1-0/+6
2014-04-16Implement obnam _lockLars Wirzenius1-1/+1
2014-04-16Add scenario for forcing locks openLars Wirzenius2-0/+49
2014-04-13Fix titleLars Wirzenius1-1/+1
2014-04-13Add missing copyright year to yarns/obnam.shLars Wirzenius1-1/+1
2014-04-13Add missing copyright info to yarns/MakefileLars Wirzenius1-0/+18
2014-04-11Don't allow backup root to be a symbolic linkLars Wirzenius2-0/+25
2014-04-08Bugfix: excluded files stayed in new generationLars Wirzenius3-0/+36
2014-03-29Fix "obnam diff latest"Lars Wirzenius2-0/+12
Add test case. Fix code. Reported-by: Junyx
2014-03-29Add test scenario for enabling compression laterLars Wirzenius1-0/+18
2014-03-29Add section titlesLars Wirzenius1-0/+6
2014-03-27Convert unreadable-dir cmdtest to yarnLars Wirzenius2-0/+20
2014-03-27Convert unreadable-file cmdtest to yarnLars Wirzenius2-12/+40
Doing this exposed a bug in yarn, which meant that the test needs a newer yarn to run. (Not yet released.)
2014-03-27Convert encryption-replaces-key cmdtest to yarnLars Wirzenius3-6/+96
Merge branch 'liw/enc-cmdtest-conv'
2014-03-27Separate adding to share and owner stepsLars Wirzenius2-5/+12
2014-03-26Add missing implementationsLars Wirzenius1-0/+20
2014-03-26Add implementsLars Wirzenius1-1/+49
2014-03-26Add scenario for replacing client keyLars Wirzenius1-0/+27
2014-03-26Add helpr functions for getting keyid, fingerprintLars Wirzenius1-0/+19
2014-03-26Convert nagios test to yarnLars Wirzenius1-0/+40
2014-03-26Remove part of test outline already implementedLars Wirzenius1-2/+0
2014-03-24Fix count of backed up filesLars Wirzenius1-5/+1
2014-03-21Fix test suite failures on TMPDIR without user xattrLars Wirzenius6-10/+27
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).