| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
We (still) need this to work in Debian squeeze, for bootstrapping,
and squeeze has Python 2.6, which has a GzipFile that does not
implement the "with protocol". Boo hiss.
|
| |
|
|
|
|
|
|
|
|
|
| |
This was done with the aid of the pep8 script, available by running
`easy_install pep8`.
It may be worth making this part of ./check, but that will require
putting pep8 into the development tools stratum.
This should be easy, given pep8 has no external dependencies.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This avoids problems with clock skew between the machine that built
an artifact and the machine the uses it. I ran into this problem
during a test build of other changes in this patch series. We have
seen it before, now it is fixed.
|
|
|
|
| |
create_stratum is no longer used, since strata are now chunk lists
|
| |
|
|
|
|
|
| |
Before only the staging area had symbolic links handled, now
strata and systems will have the same logic.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This avoids problems with files with the right names but partial
content, if morph is killed in the middle of writing the file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two things:
* GNU tar does not, on Debian squeeze, set the full nanosecond timestamp
value correctly.
* The temporary directory from which the binaries get created gets
modified (so the included files can be removed).
Together, these things conspired to make the tests usually pass,
but occasionally not, depending on timing. If everything happened
within a whole calendar second, they passed. When the machine that
runs our CI system got a lot of load from other things, tests
sometimes, but not always, started taking more time, triggering
the problem.
Fix makes all non-directories have a known timestamp without
subsecond fraction. Directories get ignored, since it's too hard
to arrange for them to retain the timestamps when things get removed,
and it doesn't really affect the usefulness of the test.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, assume the whole build will be run, by the user, under
fakeroot or sudo (the latter for system image builds). This allows
us to run all non-system-image-build tests without root access
at all.
We now always create the cache directory, if missing, even if
we're running as root.
We no longer run ldconfig if ld.so.conf is missing. It is missing
during our tests, but is (now) created by fhs-dirs for real builds.
|
|
|
|
|
|
|
|
| |
bins now takes an Execute, so the test needed to be changed to also pass one
Execute had to be changed to ignore a statement from coverage
Also fixed Execute.runv not outputting its error. I think it is not logged
this way, but it does get output like it was before.
Also check no longer runs cmdtest from the home directory.
|
| |
|
| |
|
| |
|
| |
|
|
|