Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | foreach: sort repositories asciibetically | Richard Maw | 2013-09-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | The test suite checks the output of the foreach command, this requires repositories to be returned in a stable order. The order returned from os.listdir differs by the filesystem used. btrfs returns roughly in insertion order, tmpfs alphabetically. This allowed the failure to sort pass through unchecked, since I was testing on btrfs, but people discovered issues when using /tmp, which is a tmpfs. To fix this, foreach sorts the result of list_git_directories() by directory name. The previous code would always return the root repository first, this was a unnecessary complication, so now everything is returned asciibetically and the tests amended to reflect this. | ||||
* | tests: Use test: URL prefix instead of baserock: throughout | Sam Thursfield | 2012-11-07 | 1 | -1/+1 |
| | | | | | | | | | | 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 foreach: Fix with cliapp < 1.20120630 | Sam Thursfield | 2012-09-21 | 1 | -1/+1 |
| | | | | | | Use cliapp.Application.runcmd_unchecked() instead of runcmd() to get the full command output, without requiring AppException.msg (which is an inferior way to get the output in any case) | ||||
* | Add failure test for 'morph foreach' | Sam Thursfield | 2012-09-17 | 1 | -0/+1 |