summaryrefslogtreecommitdiff
path: root/tests/update-gits-chunk.script
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright yearsLars Wirzenius2013-07-181-1/+1
|
* Use 127.0.0.1 instead of localhostLars Wirzenius2013-07-181-1/+1
| | | | | | | We do not currently install an /etc/hosts in Baserock, and thus the name localhost is not guaranteed to resolve as expected. This patch changes the tests to use 127.0.0.1 instead, since that is the IP address we want localhost to resolve to.
* Always use `git rev-parse --verify` to resolve refsSam Thursfield2012-12-131-2/+2
| | | | | | | | | | | | | Previously some code used `git show-ref`, which is wrong -- given two refs named 'alpha/master' and 'master', `git show-ref master` will return both, sorted alphabetically. This can lead to build failures, etc. due to refs resolving to the wrong SHAs. We should also use `git rev-parse --verify` to verify SHA1s, which we previously did with `git rev-list`. Finally, `git rev-parse --verify` is more than twice as fast as `git show-ref`.
* Tidy up command testsSam Thursfield2012-11-141-5/+6
| | | | Be consistent about placement of test description, blank lines, etc.
* Use git://localhost URL's instead of file:// in update-gits testsSam Thursfield2012-11-121-7/+16
| | | | This requires running git-daemon manually in the tests.
* Rework the blackbox tests for bare caches.Daniel Silverstone2012-09-141-1/+1
| | | | | | This reworks the blackbox tests to work with the bare repository caches. For the most part it's slight changes to error messages and tweaks to ignore the repository caches during file listing.
* Don't require .morph in triplet argumentsSam Thursfield2012-09-121-1/+1
| | | | | | | | | This gives us consistency with morphologies, where the triplets are repo|ref|morphology, not repo|ref|filename Anyone who runs 'morph build baserock:morphs master system.morph' will now see an error ending with 'was looking for system.morph.morph', which should make it clear where they have gone wrong.
* Add explicit repo prefixes to test scriptsLars Wirzenius2012-05-041-1/+1
|
* tests: add tests for update-gitsRichard Maw2012-04-101-0/+33