summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update tests and docs for obsolete fields in tarball importssam/tarball-obsolete-fieldsSam Thursfield2015-02-042-12/+0
| | | | | The 'compression' and 'strip' fields seem to have been obsolete since commit a7f8b1b63a97c66aea6f39342313d7a5b919cfa7 in 2012.
* Update copyright noticesrichardipsum/improve_backupsRichard Ipsum2013-12-1726-26/+26
|
* Add test: existing backup is removed by defaultRichard Ipsum2013-12-173-0/+111
|
* Add multi-backup tear down and single backup testRichard Ipsum2013-12-176-0/+202
|
* Modify lorry backup behaviour and rename testsRichard Ipsum2013-12-174-2/+2
|
* Fix git-backup-on-error testRichard Ipsum2013-12-112-0/+16
| | | | | | | This test didn't have the correct expected output. This commit corrects the expected output and amends the test so that it fails if there are no pack files in the test backup repo.
* Fix typo in hg testDaniel Silverstone2012-09-271-1/+1
|
* Merge branch 'danielsilverstone/all-repos-bare' of ↵Richard Maw2012-09-2414-47/+115
|\ | | | | | | | | | | | | git://git.baserock.org/baserock/lorry Includes a fixup of quoting uses of $SRCDIR, so it may include paths with spaces.
| * Alter repack so that we do a 'git gc' instead.danielsilverstone/all-repos-bareDaniel Silverstone2012-09-241-3/+3
| | | | | | | | | | | | | | | | | | | | Git has a garbage collection 'porcelain' command called 'gc' which does more than just repack the repository. Use that in preference to 'git repack' and also configure the repositories so that they don't use too much RAM whilst repacking. Also, we allow gitify_* routines to set self.needs_aggressive on their initial imports so that we aggressively repack the first clone.
| * Fix up Lorry to expect repositories to be bare.Daniel Silverstone2012-09-2414-50/+118
|/ | | | | | | | This patch makes Lorry always create bare repositories where it can (Note that it cannot for CVS imports) and to create tarballs of bare repositories (if not disabled) which will be more efficient than bundles for creation and cloning. We may be able to disable bundles later.
* Fix test case after message changesliw/names-with-slashesLars Wirzenius2012-08-312-5/+2
|
* Set $USER etc for CVS test setup scriptLars Wirzenius2012-08-281-0/+5
|
* Fix test case to be more deterministicLars Wirzenius2012-08-282-4/+12
|
* git-backup test: prevent bundling to reduce outputRichard Maw2012-05-302-5/+2
| | | | | | Changing from gitorious to gitano showed that it generates a bundle. This causes the test to produce different output, so is deemed a failure.
* lorry: force fetch from upstreamRichard Maw2012-05-241-1/+1
| | | | | As annoying as it is to have non-fast-forward commits, it is still a valid workflow, so it has to be allowed.
* tests: amend outputRichard Maw2012-05-241-1/+1
|
* tests: add test for keeping the repo on errorRichard Maw2012-03-284-0/+178
|
* lorry: use refspecs in lorry filesRichard Maw2012-03-132-4/+4
| | | | | | | | | | | If refspecs are listed, pass them to push_to_mirror_server, if not allow push_to_mirror_server to use its default refspecs Also fix test cases: - refs/tags/rc* is not a valid refspec, * can only substitute a whole directory - git-for-each-ref needs the whole ref path, master is not the same as refs/heads/master
* tests: add new test, use same setupRichard Maw2012-03-132-0/+52
| | | | | | | | Add a test for only pushing the refs specified. This checks whether the set of pushed refs is the same as those specified Also move no-pushspec-pushall.setup to setup_once as both pushspec tests share the same setup
* tests: add check for no pushspec behaviourRichard Maw2012-03-132-0/+97
| | | | If no push refspecs are given then every ref should be pushed
* Update test script comments.Jannis Pohlmann2012-02-203-3/+3
|
* Add basic tarball importing test, analog to the others.Jannis Pohlmann2012-02-203-0/+114
|
* Add a single commit, single file, single master branch test for SVN.Jannis Pohlmann2012-02-203-0/+112
|
* Update bzr/cvs/git/hg test scripts. Always use git for repo checks.Jannis Pohlmann2012-02-206-55/+52
|
* Drop unused line in the bzr-single-commit test script.Jannis Pohlmann2012-02-201-1/+0
|
* Add simple hg test. Needs hg-fast-export, which I don't have.Jannis Pohlmann2012-02-173-0/+95
| | | | This is why the test might be broken.
* Do not clear $DATADIR, only create work-dir if necessary.Jannis Pohlmann2012-02-173-12/+3
|
* Add missing files for the git test.Jannis Pohlmann2012-02-172-0/+95
|
* Add tests for Git and CVS repos with a single commit.Jannis Pohlmann2012-02-174-1/+114
| | | | | | Also make sure that the data dir is clean when running any of the tests. Unfortunately, CVS fails at the moment, so I've commented out a few lines in the script to not make it do anything for now.
* Remove the setup_once script.Jannis Pohlmann2012-02-171-21/+0
|
* Redirect using Posix shell contructsLars Wirzenius2012-02-171-1/+1
| | | | Ain't shell fun? No, no it isn't. It really, really isnt'. *sigh*
* Add a test for a simple bzr repository with one file and commit.Jannis Pohlmann2012-02-173-0/+94
|
* Add empty setup_once script to satisfy cmdtest.Jannis Pohlmann2012-02-171-0/+21