summaryrefslogtreecommitdiff
path: root/tests.branching/petrify-no-double-petrify.script
Commit message (Collapse)AuthorAgeFilesLines
* Remove petrify and unpetrify commandsRichard Maw2014-08-121-34/+0
| | | | | | | We don't use this any more, and instead prefer to always keep definitions.git petrified, and update the refs ourselves. branch-from-image still uses some of the remaining petrify code.
* Fix paths for chunk directories in cmdtestsLars Wirzenius2014-03-061-2/+2
|
* Fix the petrify-no-double-petrify test caseLars Wirzenius2013-07-031-0/+1
|
* Merge branch 'jjardon/python_compatibility_fixes' of ↵Richard Maw2013-01-211-4/+1
|\ | | | | | | | | | | | | | | | | | | ssh://git.baserock.org/baserock/baserock/morph This includes the following fixups: - altering the bootstrap script to install ordereddict and simplejson. - Adding a comment to clarify that it is intentional to use simplejson if collections does not have OrderedDict - Amending the copyright years to include 2013
| * tests.branching/*: Remove check to run only the teset with Python 2.7Javier Jardón2013-01-181-3/+0
|/ | | | | As we use ordererdict for python < 2.7 as well See 37f8d84d7ab356169bf7c04bdecb39a61b85c88d
* Tidy up command testsSam Thursfield2012-11-141-3/+3
| | | | Be consistent about placement of test description, blank lines, etc.
* Consolidate checks for python versionRichard Maw2012-11-131-6/+1
| | | | | | | | Most of the bespoke logic for the version check is unnecessary, since the output to display can be easily inferred from the filename. This fixes some test failures where the version check would cat a file to fake the output, but fail because the file was removed.
* tests: Use test: URL prefix instead of baserock: throughoutSam Thursfield2012-11-071-2/+2
| | | | | | | | | | Some tests already used test: and in order to be able to share the scripts/setup-3rd-party-strata script they need to all use the same prefix. Using baserock: implies that we are using real code from Baserock, so I picked test: because the tests only ever use mock morphologies and no real code.
* morph petrify: Avoid petrifying chunks that have already been editedSam Thursfield2012-10-181-2/+2
| | | | | | | | | | | | | This change causes 'morph petrify' to avoid petrifying any chunk whose ref matches the current system branch, because it makes no sense to petrify something that is also being edited. It also improves efficiency slightly and adds warning where different systems point to different refs of the same stratum. A non-obvious effect of this is that if you try to petrify 'master', many of the chunks won't get petrified because they are built from 'master'. However, petrifying master makes no sense so I'm not sure that we need to worry.
* Disable tests on Debian Squeeze that require Python 2.7Sam Thursfield2012-09-241-1/+1
| | | | | Our non-destructive morphology editing requires at least Python 2.7, which is not available on Squeeze.
* Test that 'petrify' is safe against multiple invocationsSam Thursfield2012-09-211-0/+41
Make sure we don't lose the 'unpetrify-ref' field in this case, or unpetrify will break.