summaryrefslogtreecommitdiff
path: root/test/test-functions
Commit message (Collapse)AuthorAgeFilesLines
* tests: install ldconfig.real for Debian based distrosMartin Pitt2015-02-031-0/+2
| | | | | In Debian based distributions ldconfig is just a shell wrapper around ldconfig.real, for deferring it during package installation.
* tests: install hostname debug toolMartin Pitt2015-02-031-1/+1
| | | | | This is mostly a vehicle to pull in libnsl.so which gets dlopen()ed by NSS under certain NSS configurations.
* tests: install all required libnss modulesMartin Pitt2015-02-031-1/+4
| | | | | Don't assume "files" for everything in nsswitch. Instead, ask "getent passwd" about which libnss modules it dlopen()s, and install these.
* tests: don't hardcode systemctl pathMartin Pitt2015-02-031-1/+2
| | | | Get it from type -P instead, to support --enable-split-usr.
* tests: determine rootlibdir from pkg-configMartin Pitt2015-02-031-4/+9
| | | | | Prefer asking pkg-config for the rootlibdir, to also support systems with --enable-split-usr. Fall back to the hardcoded /usr/lib/systemd if that fails.
* tests: Make sushell optional in image creationMartin Pitt2015-02-031-1/+2
| | | | | sushell does not exist in all distributions, and it can be changed with configure --with-debug-shell, so make installation of it optional.
* Use eurlatgr as the example console fontMarko Myllynen2015-01-221-0/+1
| | | | | | See https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont https://bugzilla.redhat.com/show_bug.cgi?id=1182529
* test: print the important commands to make debugging easierZbigniew Jędrzejewski-Szmek2014-02-141-3/+5
|
* test: make the image biggerZbigniew Jędrzejewski-Szmek2014-02-141-3/+3
| | | | | I got some errors about lack of disk space... 100MB either way shouldn't matter.
* test: wrap $LOOPDEV in quotesZbigniew Jędrzejewski-Szmek2013-12-101-5/+5
| | | | Otherwise things go awry if it is not set ('[ -b ]' is not the same as '[ -b "" ]'!).
* test: rework run_qemuRonny Chevalier2013-12-101-9/+56
| | | | | | | | | | | | | | | It tries to find a suitable QEMU binary and will use KVM if present. We can now configure QEMU from outside with 4 variables : - $QEMU_BIN : path to QEMU's binary - $KERNEL_APPEND : arguments appended to kernel cmdline - $KERNEL_BIN : path to a kernel Default /boot/vmlinuz-$KERNEL_VER - $INITRD : path to an initramfs Default /boot/initramfs-${KERNEL_VER}.img - $QEMU_SMP : number of CPU simulated by QEMU. Default 1 (from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html)
* test: remove duplicated codeRonny Chevalier2013-11-071-0/+254
|
* man: fix a bunch of typos in docsThomas Hindoe Paaboel Andersen2012-09-131-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=54501
* test/TEST-01-BASIC: add /var on cryptoluks and wait for the journalHarald Hoyer2012-05-291-15/+231
|
* test/test-functions: add check_qemu() and check_nspawn() functionsHarald Hoyer2012-05-291-10/+9
|
* test/test-functions: be more verbose about skipping testsHarald Hoyer2012-05-291-2/+15
|
* test: introduce a basic testsuite frameworkHarald Hoyer2012-05-221-0/+636
$ cd test $ sudo make check will run all tests in the TEST-* subdirectories $ cd test/TEST-01-BASIC $ sudo make clean setup run will run the different stages of the test for debugging purposes