summaryrefslogtreecommitdiff
path: root/test/test-functions
AgeCommit message (Collapse)AuthorFilesLines
2015-02-03test-functions: search for the initrd and kernel according to the BLSHarald Hoyer1-0/+8
Also search for the initrd and kernel according to the boot loader specification.
2015-02-03test-functions: use sfdisk without cyl,head,sectorsHarald Hoyer1-2/+2
newer sfdisk implementations do not work with these anymore
2015-02-03test-functions:install_libnss() call dracut_install with all $NSS_LIBSHarald Hoyer1-3/+1
dracut_install() can cope with more than one file
2015-02-03tests: install ldconfig.real for Debian based distrosMartin Pitt1-0/+2
In Debian based distributions ldconfig is just a shell wrapper around ldconfig.real, for deferring it during package installation.
2015-02-03tests: install hostname debug toolMartin Pitt1-1/+1
This is mostly a vehicle to pull in libnsl.so which gets dlopen()ed by NSS under certain NSS configurations.
2015-02-03tests: install all required libnss modulesMartin Pitt1-1/+4
Don't assume "files" for everything in nsswitch. Instead, ask "getent passwd" about which libnss modules it dlopen()s, and install these.
2015-02-03tests: don't hardcode systemctl pathMartin Pitt1-1/+2
Get it from type -P instead, to support --enable-split-usr.
2015-02-03tests: determine rootlibdir from pkg-configMartin Pitt1-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.
2015-02-03tests: Make sushell optional in image creationMartin Pitt1-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.
2015-01-22Use eurlatgr as the example console fontMarko Myllynen1-0/+1
See https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont https://bugzilla.redhat.com/show_bug.cgi?id=1182529
2014-02-14test: print the important commands to make debugging easierZbigniew Jędrzejewski-Szmek1-3/+5
2014-02-14test: make the image biggerZbigniew Jędrzejewski-Szmek1-3/+3
I got some errors about lack of disk space... 100MB either way shouldn't matter.
2013-12-10test: wrap $LOOPDEV in quotesZbigniew Jędrzejewski-Szmek1-5/+5
Otherwise things go awry if it is not set ('[ -b ]' is not the same as '[ -b "" ]'!).
2013-12-10test: rework run_qemuRonny Chevalier1-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)
2013-11-07test: remove duplicated codeRonny Chevalier1-0/+254
2012-09-13man: fix a bunch of typos in docsThomas Hindoe Paaboel Andersen1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=54501
2012-05-29test/TEST-01-BASIC: add /var on cryptoluks and wait for the journalHarald Hoyer1-15/+231
2012-05-29test/test-functions: add check_qemu() and check_nspawn() functionsHarald Hoyer1-10/+9
2012-05-29test/test-functions: be more verbose about skipping testsHarald Hoyer1-2/+15
2012-05-22test: introduce a basic testsuite frameworkHarald Hoyer1-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