summaryrefslogtreecommitdiff
path: root/tests.as-root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update as-root tests to use their setup infrastructureSam Thursfield2012-11-141-1/+2
| | | | Code to generate system images was being duplicated in each test needlessly.
* Add and use sparse-gunzip in loopback-rootfsRichard Maw2012-10-261-2/+2
| | | | | | This reduces the space required from the full size of the compressed disk image, which meant that tests could not be run on systems where TMPDIR is a smallish tmpfs.
* Merge branch 'samthursfield/write-metadata-for-system' of ↵Richard Maw2012-10-261-5/+5
| | | | | | | | | git://git.baserock.org/baserock/morph This includes a fixup of shell quoting in tests.as-root/lib. Tests needs to be run with a larget TMPDIR than systemd's default, since system images can be large.
* Write metadata for the rootfs itself into the rootfsSam Thursfield2012-10-261-0/+35
This makes it easier to identify what version of a system we are running. Tests are updated to check inside the contents of the rootfs we created, and the code to mount the rootfs as a loopback device was extracted out into tests.as-root/lib